aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-10 17:17:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-10 17:17:09 +0100
commit6e31344466e2558a99cd46bb29abaa37e1faffc6 (patch)
treeae51cd2a56c252d6f0df6755b76719fe121e81e3 /src/lua/lua_worker.c
parentc4d3eb4af41a17cf28cb4fbb171d9b70d98259b5 (diff)
downloadrspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.tar.gz
rspamd-6e31344466e2558a99cd46bb29abaa37e1faffc6.zip
[Minor] Fix compile warnings
Diffstat (limited to 'src/lua/lua_worker.c')
-rw-r--r--src/lua/lua_worker.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lua/lua_worker.c b/src/lua/lua_worker.c
index eaf0e02d7..940c6ae4a 100644
--- a/src/lua/lua_worker.c
+++ b/src/lua/lua_worker.c
@@ -261,9 +261,7 @@ lua_worker_control_fin_session (void *ud)
struct rspamd_control_reply rep;
struct rspamd_control_cbdata *cbd = (struct rspamd_control_cbdata *)ud;
rspamd_mempool_t *pool;
- lua_State *L;
- L = cbd->L;
pool = cbd->pool;
memset (&rep, 0, sizeof (rep));