From 7d5a4cde28eb242e17d5701239ba3e3a67c73516 Mon Sep 17 00:00:00 2001 From: Anton Shestakov Date: Thu, 14 Jul 2016 18:49:38 +0800 Subject: net.server_select: remove unused one-letter loop variable [luacheck] --- net/server_select.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') diff --git a/net/server_select.lua b/net/server_select.lua index 85730e73..ce5cb3de 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -570,7 +570,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport local read, wrote handshake = coroutine_wrap( function( client ) -- create handshake coroutine local err - for i = 1, _maxsslhandshake do + for _ = 1, _maxsslhandshake do _sendlistlen = ( wrote and removesocket( _sendlist, client, _sendlistlen ) ) or _sendlistlen _readlistlen = ( read and removesocket( _readlist, client, _readlistlen ) ) or _readlistlen read, wrote = nil, nil -- cgit v1.2.3