Changeset

7569:a15ce0014ac9

net.http.parser: Remove unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sat, 13 Aug 2016 15:09:43 +0200
parents 7568:4f7990902874
children 7570:c61ea328fac2
files net/http/parser.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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