summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ml.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-27 22:36:35 +0800
committerruki <[email protected]>2021-10-27 22:36:35 +0800
commit71217ef2ce95a70aad0fd1cad05eb462b4612a5b (patch)
tree9dff12c2baa041edb698d5ea37a5cfd565035668 /xmake/modules/core/tools/ml.lua
parent1f2e6861e8160fa1584c67d6783b11b2dbd6c85e (diff)
remove some comments
Diffstat (limited to 'xmake/modules/core/tools/ml.lua')
-rw-r--r--xmake/modules/core/tools/ml.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/ml.lua b/xmake/modules/core/tools/ml.lua
index e9154251d..3550b1a32 100644
--- a/xmake/modules/core/tools/ml.lua
+++ b/xmake/modules/core/tools/ml.lua
@@ -77,8 +77,6 @@ end
-- make the warning flag
function nf_warning(self, level)
-
- -- the maps
local maps =
{
none = "-w"
@@ -88,8 +86,6 @@ function nf_warning(self, level)
, everything = "-W3"
, error = "-WX"
}
-
- -- make it
return maps[level]
end