summaryrefslogtreecommitdiff
path: root/server/src/core/value.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/core/value.lua')
-rw-r--r--server/src/core/value.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/core/value.lua b/server/src/core/value.lua
index 7b79d2ab..5426815f 100644
--- a/server/src/core/value.lua
+++ b/server/src/core/value.lua
@@ -233,7 +233,7 @@ function mt:getDeclarat()
return nil
end
-function mt:addInfo(tp, source, var)
+function mt:addInfo(tp, source)
if source and not source.start then
error('Miss start: ' .. table.dump(source))
end
@@ -247,7 +247,6 @@ function mt:addInfo(tp, source, var)
self._info[uri][#self._info[uri]+1] = {
type = tp,
source = source or getDefaultSource(),
- var = var,
}
return self
end