From: Andrew Lewis Date: Wed, 29 Mar 2017 15:41:34 +0000 (+0200) Subject: [Minor] Silence warning X-Git-Tag: 1.5.5~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5f026c6984811b4109ca197f471d13978bcdc65e;p=rspamd.git [Minor] Silence warning --- diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index c5972d740..04ef394a2 100644 --- a/src/plugins/lua/antivirus.lua +++ b/src/plugins/lua/antivirus.lua @@ -535,7 +535,7 @@ local function savapi_check(task, rule) elseif string.find(result, '310') then -- Recursive result - local vname = nil + local vname local parts = rspamd_str_split(result, ' <<< ') if parts and parts[2] then vname = trim(rspamd_str_split(parts[2], ';')[1])