# HG changeset patch # User Kim Alvefur # Date 1471093783 -7200 # Node ID a15ce0014ac944f916c687fde6ff00978490bf24 # Parent 4f7990902874b327c7af751f1bace4d506a8324f net.http.parser: Remove unused argument [luacheck] diff -r 4f7990902874 -r a15ce0014ac9 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