summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-02-03 23:11:23 +0800
committerGitHub <[email protected]>2025-02-03 23:11:23 +0800
commit6e24f29490f494edba9b56d635f2fd79fe03dcba (patch)
tree1a693bf1bed6e164b070c9e2519a9f896a35f0e1
parent648d2941ad0efd049661d13da9a5578d14ced92f (diff)
Update find_raddbg.lua
-rw-r--r--xmake/modules/detect/tools/find_raddbg.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/detect/tools/find_raddbg.lua b/xmake/modules/detect/tools/find_raddbg.lua
index faa310663..c6a573574 100644
--- a/xmake/modules/detect/tools/find_raddbg.lua
+++ b/xmake/modules/detect/tools/find_raddbg.lua
@@ -37,19 +37,11 @@ import("lib.detect.find_programver")
-- @endcode
--
function main(opt)
-
- -- init options
opt = opt or {}
-
- -- find program
local program = find_program(opt.program or "raddbg", opt)
-
- -- find program version
local version = nil
if program and opt and opt.version then
version = find_programver(program, opt)
end
-
- -- ok?
return program, version
end