aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-23 21:51:52 +0100
committerKim Alvefur <zash@zash.se>2019-12-23 21:51:52 +0100
commitc3d1266e34e25c71692c109ee597160d9d7231f3 (patch)
treed182c21e2ce0a36060fe9ccbebc8b4155f15b8e6 /net/server_epoll.lua
parenta2cfaf8c28ec3f90ec0f548b240091053d5571c6 (diff)
downloadprosody-c3d1266e34e25c71692c109ee597160d9d7231f3.tar.gz
prosody-c3d1266e34e25c71692c109ee597160d9d7231f3.zip
net.server_epoll: Remove an unused variable [luacheck]
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 46fcbf02..e2c5f977 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -114,7 +114,7 @@ local function runtimers(next_delay, min_wait)
break;
end
- local _, timer, id = timers:pop();
+ local _, timer = timers:pop();
local ok, ret = pcall(timer[2], now);
if ok and type(ret) == "number" then
local next_time = elapsed+ret;