]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Silence warning
authorAndrew Lewis <nerf@judo.za.org>
Wed, 29 Mar 2017 15:41:34 +0000 (17:41 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 29 Mar 2017 15:41:34 +0000 (17:41 +0200)
src/plugins/lua/antivirus.lua

index c5972d74031a29bc24cb83cf2e70b78fa66af033..04ef394a2f6f9907948719ad522877dab8303371 100644 (file)
@@ -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])