summaryrefslogtreecommitdiff
path: root/xmake/plugins/project/vstudio/impl/vs201x.lua
diff options
context:
space:
mode:
authorA2va <[email protected]>2023-09-30 18:16:31 +0200
committerA2va <[email protected]>2023-09-30 18:18:44 +0200
commitdbfde8ed4da11fd0221a88bfa267e9cf05457345 (patch)
tree4003de077cd6cd503bb2ffb9b03d0481fb53c4ab /xmake/plugins/project/vstudio/impl/vs201x.lua
parent434993362b6c4a6a2f20bd634b71eb4f27221253 (diff)
Remove unnecessary underscore
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vs201x.lua')
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua
index 699b5df47..1735c68a4 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x.lua
@@ -213,7 +213,7 @@ function _make_custom_commands(target, vcxprojdir)
local commands = {}
_make_custom_commands_for_target(commands, target, vcxprojdir, "before")
_make_custom_commands_for_target(commands, target, vcxprojdir)
- local sourcebatches, _ = target:sourcebatches()
+ local sourcebatches = target:sourcebatches()
for _, sourcebatch in table.orderpairs(sourcebatches) do
local rulename = sourcebatch.rulename
local sourcekind = sourcebatch.sourcekind
@@ -282,7 +282,7 @@ function _make_targetinfo(mode, arch, target, vcxprojdir)
local firstcompflags = nil
targetinfo.compflags = {}
targetinfo.compargvs = {}
- local sourcebatches, _ = target:sourcebatches()
+ local sourcebatches = target:sourcebatches()
for _, sourcebatch in table.orderpairs(sourcebatches) do
local sourcekind = sourcebatch.sourcekind
local rulename = sourcebatch.rulename