From: Vsevolod Stakhov Date: Thu, 27 Oct 2022 21:55:32 +0000 (+0100) Subject: [Minor] Remove unused variable X-Git-Tag: 3.4~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cad33873c08a0f680140296c6eb5d742ef7f118;p=thirdparty%2Frspamd.git [Minor] Remove unused variable --- diff --git a/src/plugins/lua/once_received.lua b/src/plugins/lua/once_received.lua index c3a542deaa..aa17315ef8 100644 --- a/src/plugins/lua/once_received.lua +++ b/src/plugins/lua/once_received.lua @@ -41,7 +41,7 @@ local check_authed = false local function check_quantity_received (task) local recvh = task:get_received_headers() - local nreceived = fun.reduce(function(acc, rcvd) + local nreceived = fun.reduce(function(acc, _) return acc + 1 end, 0, fun.filter(function(h) return not h['artificial']