]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove unused variable
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 27 Oct 2022 21:55:32 +0000 (22:55 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 27 Oct 2022 21:55:32 +0000 (22:55 +0100)
src/plugins/lua/once_received.lua

index c3a542deaa2d42306ef72dd886f56e825c225cac..aa17315ef87de476804c537b14ad729146eae671 100644 (file)
@@ -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']