commit 90b07a7: [Minor] Pet luacheck
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri May 22 13:21:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-05-22 14:15:25 +0100
URL: https://github.com/rspamd/rspamd/commit/90b07a7f8aefae26f8f3451b530448951cca4693 (HEAD -> master)
[Minor] Pet luacheck
---
lualib/lua_content/pdf.lua | 1 -
1 file changed, 1 deletion(-)
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)
More information about the Commits
mailing list