]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Silence warning 1479/head
authorAndrew Lewis <nerf@judo.za.org>
Sat, 4 Mar 2017 16:49:05 +0000 (18:49 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Sat, 4 Mar 2017 16:49:05 +0000 (18:49 +0200)
rules/misc.lua

index 21a3ccf38c11d97f66ebec4077070ee0cc1512df..28fb19f5cf78decfd39c3b4d8cefa17407c994d9 100644 (file)
@@ -881,7 +881,7 @@ rspamd_config:register_symbol{
         local modified = false
         local addrs = task:get_recipients(type)
 
-        for i,addr in ipairs(addrs) do
+        for _, addr in ipairs(addrs) do
           local na = check_address(addr)
           if na then
             set_addr(addr, na)