]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Pet luacheck
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 May 2018 11:45:38 +0000 (12:45 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 May 2018 11:45:38 +0000 (12:45 +0100)
rules/misc.lua

index c70e90bbc00d81f69bab4870ed2c0c35926b93d0..080d035846b6218ef1df7f4903db15098f3156f1 100644 (file)
@@ -658,7 +658,7 @@ local check_encrypted_name = rspamd_config:register_symbol{
           elseif cld:is_text() then
             seen_text = true
           else
-            local type,subtype,attrs = cld:get_type_full()
+            local type,subtype,_ = cld:get_type_full()
 
             if type:lower() == 'application' then
               if string.find(subtype:lower(), 'pkcs7%-mime') then