]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Pet luacheck
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 22 May 2020 13:15:25 +0000 (14:15 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 22 May 2020 13:15:25 +0000 (14:15 +0100)
lualib/lua_content/pdf.lua

index 120ca5111fb2ab4a7b55b0a2af63890c119c3121..57968013fa69bd6975b32fe4a87a29b457f009f8 100644 (file)
@@ -914,7 +914,6 @@ local function attach_pdf_streams(task, input, pdf)
   if pdf.start_streams and pdf.end_streams then
     local start_pos, end_pos = 1, 1
     local max_start_pos, max_end_pos
-    local obj_count = 0
 
     max_start_pos = math.min(config.max_pdf_objects, #pdf.start_streams)
     max_end_pos = math.min(config.max_pdf_objects, #pdf.end_streams)