summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-06 18:04:33 +0800
committerGitHub <[email protected]>2022-08-06 18:04:33 +0800
commit75f5acf2823fc7894f9046743aa52526f7d29351 (patch)
treee688d6b9485bc4ee8d35550a01e99e944628d0e6
parent77f44fef32bf19a67c917087c44de61e01b9aa59 (diff)
Update find_matlab.lua
-rw-r--r--xmake/modules/detect/sdks/find_matlab.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/detect/sdks/find_matlab.lua b/xmake/modules/detect/sdks/find_matlab.lua
index a6afc4ee9..a29e17399 100644
--- a/xmake/modules/detect/sdks/find_matlab.lua
+++ b/xmake/modules/detect/sdks/find_matlab.lua
@@ -38,7 +38,6 @@ function main()
end
local itemkey = valuekeys[1] .. ";MATLABROOT"
local sdkdir = try {function () return winos.registry_query(itemkey) end}
- -- check sdkdir is vaild
if not sdkdir then
return nil
end
@@ -58,4 +57,4 @@ function main()
end
end
return result
-end \ No newline at end of file
+end