Changeset

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
parents 10545:2fbcdf6da331
children 10547:c77471c180ea
files net/server_epoll.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;