From d68a5f42a33d8830d268c2cc581469fa0381fa6c Mon Sep 17 00:00:00 2001 From: Carsten Rosenberg Date: Sun, 13 Jan 2019 16:05:13 +0100 Subject: [Fix] lua_scanners - fix luacheck --- lualib/lua_scanners/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lualib/lua_scanners/common.lua') diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua index 1fe82fabb..43400c375 100644 --- a/lualib/lua_scanners/common.lua +++ b/lualib/lua_scanners/common.lua @@ -180,7 +180,7 @@ local function save_av_cache(task, digest, rule, to_save, dyn_weight) return false end -local function create_regex_table(task, patterns) +local function create_regex_table(patterns) local regex_table = {} if patterns[1] then for i, p in ipairs(patterns) do -- cgit v1.2.3