Changeset

7571:e8efb5cf0877

net.http.codes: Remove used argument
author Kim Alvefur <zash@zash.se>
date Sat, 13 Aug 2016 16:10:17 +0200
parents 7570:c61ea328fac2
children 7572:f549587b8c06
files net/http/codes.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/http/codes.lua	Sat Aug 13 15:42:57 2016 +0200
+++ b/net/http/codes.lua	Sat Aug 13 16:10:17 2016 +0200
@@ -70,4 +70,4 @@
 };
 
 for k,v in pairs(response_codes) do response_codes[k] = k.." "..v; end
-return setmetatable(response_codes, { __index = function(t, k) return k.." Unassigned"; end })
+return setmetatable(response_codes, { __index = function(_, k) return k.." Unassigned"; end })