aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-03-29 17:41:34 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-03-29 17:41:34 +0200
commit5f026c6984811b4109ca197f471d13978bcdc65e (patch)
tree492ac826aac67576e386daf8679c1587f2e40776 /src/plugins
parent4d4251b315d254a8407aadf5ed7ac6e5df115655 (diff)
downloadrspamd-5f026c6984811b4109ca197f471d13978bcdc65e.tar.gz
rspamd-5f026c6984811b4109ca197f471d13978bcdc65e.zip
[Minor] Silence warning
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/antivirus.lua2
1 files changed, 1 insertions, 1 deletions
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])