summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-08-08 06:54:49 +0200
committerArthur LAURENT <[email protected]>2022-08-08 09:13:48 +0200
commit3652c9429dd47dbf08670f5ee8a89be00cf8693b (patch)
tree6ef96096b7d1c7c5894418058198f8a8e61f5954 /xmake/rules/c++/modules/modules_support
parent969c1371fde82493d75766681c800107b8359981 (diff)
Clean code
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/gcc.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua
index 65dc45782..8f3bacf72 100644
--- a/xmake/rules/c++/modules/modules_support/gcc.lua
+++ b/xmake/rules/c++/modules/modules_support/gcc.lua
@@ -162,7 +162,6 @@ function generate_stl_headerunits_for_batchjobs(target, batchjobs, headerunits,
-- build headerunits
local projectdir = os.projectdir()
- local depmtime = 0
for _, headerunit in ipairs(headerunits) do
local bmifile = path.join(stlcachedir, headerunit.name .. get_bmi_extension())
if not os.isfile(bmifile) then
@@ -209,7 +208,6 @@ function generate_user_headerunits_for_batchjobs(target, batchjobs, headerunits,
-- build headerunits
local projectdir = os.projectdir()
- local depmtime = 0
for _, headerunit in ipairs(headerunits) do
local file = path.relative(headerunit.path, projectdir)
local objectfile = target:objectfile(file)