summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-22 22:11:58 +0800
committerGitHub <[email protected]>2025-05-22 22:11:58 +0800
commit7d2b149206a53cb8f5bbfc7f3b70065a07faf11c (patch)
treebd169ff8f8a7cea21fec6720e57aeaa806947740
parent18046833f44c1531b33d4361397216ec7fe4f8ca (diff)
Update find_vstudio.lua
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua
index d58886521..bf698c1b9 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -518,7 +518,7 @@ function _find_vstudio(opt)
end
if vswhere_VCAuxiliaryBuildDir then
- for i, vc_path in ipairs(vswhere_VCAuxiliaryBuildDir) do
+ for _, vc_path in ipairs(vswhere_VCAuxiliaryBuildDir) do
if os.isdir(vc_path) then
table.insert(paths, 1, vc_path)
end