summaryrefslogtreecommitdiff
path: root/server/src/matcher/compile.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-06 13:52:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-06 13:52:11 +0800
commit743d1a3ea8aa964d8aabf13e597fef21bfb361ec (patch)
tree08b6f101aeb152060abd9b9847c8936d32874813 /server/src/matcher/compile.lua
parentc4ce0145a7fd35fe1fa628b862e9963ffc8243cc (diff)
downloadlua-language-server-743d1a3ea8aa964d8aabf13e597fef21bfb361ec.zip
支持检查未使用的局部变量,并整理代码
Diffstat (limited to 'server/src/matcher/compile.lua')
-rw-r--r--server/src/matcher/compile.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/compile.lua b/server/src/matcher/compile.lua
index 68fdf9b6..02db109c 100644
--- a/server/src/matcher/compile.lua
+++ b/server/src/matcher/compile.lua
@@ -227,7 +227,7 @@ function mt:searchReturn(action)
end
end
-function mt:setTable(var, tbl, mode)
+function mt:setTable(var, tbl)
if not var or not tbl then
return
end