diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-06 13:52:11 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-06 13:52:11 +0800 |
commit | 743d1a3ea8aa964d8aabf13e597fef21bfb361ec (patch) | |
tree | 08b6f101aeb152060abd9b9847c8936d32874813 /server/src/matcher/compile.lua | |
parent | c4ce0145a7fd35fe1fa628b862e9963ffc8243cc (diff) | |
download | lua-language-server-743d1a3ea8aa964d8aabf13e597fef21bfb361ec.zip |
支持检查未使用的局部变量,并整理代码
Diffstat (limited to 'server/src/matcher/compile.lua')
-rw-r--r-- | server/src/matcher/compile.lua | 2 |
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 |