net.http.parser: Remove unused argument [luacheck]
authorKim Alvefur <zash@zash.se>
Sat, 13 Aug 2016 15:09:43 +0200
changeset 7572 a15ce0014ac9
parent 7571 4f7990902874
child 7573 c61ea328fac2
net.http.parser: Remove unused argument [luacheck]
net/http/parser.lua
--- a/net/http/parser.lua	Fri Aug 12 13:51:38 2016 +0800
+++ b/net/http/parser.lua	Sat Aug 13 15:09:43 2016 +0200
@@ -35,7 +35,7 @@
 	local have_body;
 	local error;
 	return {
-		feed = function(self, data)
+		feed = function(_, data)
 			if error then return nil, "parse has failed"; end
 			if not data then -- EOF
 				if state and client and not len then -- reading client body until EOF