summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules')
-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