From 0468aa76f1e3be9af2cf75392423fec2b0d2db79 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 13 Aug 2016 15:09:43 +0200 Subject: net.http.parser: Remove unused argument [luacheck] --- net/http/parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/http') diff --git a/net/http/parser.lua b/net/http/parser.lua index 6d7187da..70df6513 100644 --- a/net/http/parser.lua +++ b/net/http/parser.lua @@ -35,7 +35,7 @@ function httpstream.new(success_cb, error_cb, parser_type, options_cb) 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 -- cgit v1.2.3