Diff

net/server_epoll.lua @ 10546:944863f878b9

net.server_epoll: Remove an unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 23 Dec 2019 21:51:52 +0100
parent 10492:8e1d9bba9244
child 10571:cfeb0077c9e9
line wrap: on
line diff
--- a/net/server_epoll.lua	Mon Dec 23 21:43:34 2019 +0100
+++ b/net/server_epoll.lua	Mon Dec 23 21:51:52 2019 +0100
@@ -114,7 +114,7 @@
 			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;