From: Vsevolod Stakhov Date: Wed, 11 Apr 2018 13:20:29 +0000 (+0100) Subject: [Minor] Shut up luacheck X-Git-Tag: 1.7.4~106 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=36590c124e4f134bc4d048fff89a9b0309198663;p=rspamd.git [Minor] Shut up luacheck --- diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index af5bf5999..2fe8cb9c6 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -268,7 +268,7 @@ return function(cfg) actions_set['grow_factor'] = true actions_set['subject'] = true - for k,v in pairs(cfg.actions) do + for k,_ in pairs(cfg.actions) do if not actions_set[k] then logger.warnx('unknown element in actions section: %s', k) end