configmanager: Rename unused function argument [luacheck]
authorMatthew Wild <mwild1@gmail.com>
Mon, 18 May 2015 18:05:26 +0000 (19:05 +0100)
committerMatthew Wild <mwild1@gmail.com>
Mon, 18 May 2015 18:05:26 +0000 (19:05 +0100)
core/configmanager.lua

index 4d772f67c565003fc00970db64bc3296dc445919..2feffa6c62deba9833ba812a54da457e08b35cce 100644 (file)
@@ -28,7 +28,7 @@ _M.resolve_relative_path = resolve_relative_path; -- COMPAT
 
 local parsers = {};
 
-local config_mt = { __index = function (t, k) return rawget(t, "*"); end};
+local config_mt = { __index = function (t, _) return rawget(t, "*"); end};
 local config = setmetatable({ ["*"] = { } }, config_mt);
 
 -- When host not found, use global