From 7e62a09e0ba8645cd03dfed3e381a7f00d571683 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 23 Feb 2018 15:08:52 +0000 Subject: [PATCH] [Minor] Shut up luacheck again --- lualib/rspamadm/configwizard.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua index 3aabea41f..5a42a8257 100644 --- a/lualib/rspamadm/configwizard.lua +++ b/lualib/rspamadm/configwizard.lua @@ -296,7 +296,6 @@ local function check_redis_classifier(cls, changes) -- Load symbols from statfiles local statfiles = cls.statfile for _,stf in ipairs(statfiles) do - local path = (stf.file or stf.path or stf.db or stf.dbname) local symbol = stf.symbol or 'undefined' local spam @@ -355,7 +354,7 @@ local function check_redis_classifier(cls, changes) printf("You are using an old schema for %s/%s", symbol_ham, symbol_spam) try_convert() else - local res,conn = lua_redis.redis_connect_sync(parsed_redis, true) + local _,conn = lua_redis.redis_connect_sync(parsed_redis, true) -- We still need to check versions local lua_script = [[ local ver = 0 -- 2.39.5