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
commitd96ac3886720ffb683b153c529f6f192c2cc34da (patch)
treed182c21e2ce0a36060fe9ccbebc8b4155f15b8e6 /net/server_epoll.lua
parente9cb34f310d4998077882c3ffd3d22bef4532d7c (diff)
downloadprosody-d96ac3886720ffb683b153c529f6f192c2cc34da.tar.gz
prosody-d96ac3886720ffb683b153c529f6f192c2cc34da.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;