summaryrefslogtreecommitdiff
path: root/server/src/core/diagnostics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/diagnostics.lua')
-rw-r--r--server/src/core/diagnostics.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua
index badf3b00..8eab5960 100644
--- a/server/src/core/diagnostics.lua
+++ b/server/src/core/diagnostics.lua
@@ -14,6 +14,9 @@ function mt:searchUnusedLocals(callback)
if not loc then
return
end
+ if loc:get 'emmy arg' then
+ return
+ end
local name = loc:getName()
if name == '_' or name == '_ENV' or name == '' then
return