summaryrefslogtreecommitdiff
path: root/core/lua/astal/variable.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/lua/astal/variable.lua')
-rw-r--r--core/lua/astal/variable.lua11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/lua/astal/variable.lua b/core/lua/astal/variable.lua
index bd95edb..04cdeb2 100644
--- a/core/lua/astal/variable.lua
+++ b/core/lua/astal/variable.lua
@@ -5,15 +5,6 @@ local Binding = require("astal.binding")
local Time = require("astal.time")
local Process = require("astal.process")
-local function unpack(t, i)
- i = i or 1
- if t[i] == nil then
- return nil
- else
- return t[i], unpack(t, i + 1)
- end
-end
-
---@class Variable
---@field private variable table
---@field private err_handler? function
@@ -282,4 +273,4 @@ return setmetatable(Variable, {
__call = function(_, v)
return Variable.new(v)
end,
-})
+}) \ No newline at end of file