changeset 3181:1f2272cda0d7

mod_profile: Ignore shadowed variable name
author Kim Alvefur <zash@zash.se>
date Thu, 12 Jul 2018 21:09:41 +0200
parents 00034d0cc05a
children 9e5616a49d59
files mod_profile/mod_profile.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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];