aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-22 14:15:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-22 14:15:25 +0100
commit90b07a7f8aefae26f8f3451b530448951cca4693 (patch)
treed9b1b0307d6512e6cc792735b66b4451ac1fe753
parent3b3de857f12e0b13b060c8fffccd4923abca3631 (diff)
downloadrspamd-90b07a7f8aefae26f8f3451b530448951cca4693.tar.gz
rspamd-90b07a7f8aefae26f8f3451b530448951cca4693.zip
[Minor] Pet luacheck
-rw-r--r--lualib/lua_content/pdf.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua
index 120ca5111..57968013f 100644
--- a/lualib/lua_content/pdf.lua
+++ b/lualib/lua_content/pdf.lua
@@ -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)