mod_profile: Ignore shadowed variable name
authorKim Alvefur <zash@zash.se>
Thu, 12 Jul 2018 21:09:41 +0200
changeset 3185 1f2272cda0d7
parent 3184 00034d0cc05a
child 3186 9e5616a49d59
mod_profile: Ignore shadowed variable name
mod_profile/mod_profile.lua
--- a/mod_profile/mod_profile.lua	Thu Jul 12 21:07:10 2018 +0200
+++ b/mod_profile/mod_profile.lua	Thu Jul 12 21:09:41 2018 +0200
@@ -17,7 +17,7 @@
 local storage = module:open_store();
 local legacy_storage = module:open_store("vcard");
 
-local function get_item(vcard, name)
+local function get_item(vcard, name) -- luacheck: ignore 431
 	local item;
 	for i=1, #vcard do
 		item=vcard[i];