aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_url.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-11-04 21:11:33 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-11-04 21:11:33 +0000
commitb2f0dd775c6d3f78234c5e2d1118eac21490bbd5 (patch)
treeaee4eb0059e2a9b05b3ed39c24e88bcde20bb0b4 /src/lua/lua_url.c
parentf85dfb2f0b80ea030e7106534d1d00b29311ce80 (diff)
downloadrspamd-b2f0dd775c6d3f78234c5e2d1118eac21490bbd5.tar.gz
rspamd-b2f0dd775c6d3f78234c5e2d1118eac21490bbd5.zip
[Minor] Get rid of some compiler warnings
Diffstat (limited to 'src/lua/lua_url.c')
-rw-r--r--src/lua/lua_url.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c
index a2ce1d987..39b0293aa 100644
--- a/src/lua/lua_url.c
+++ b/src/lua/lua_url.c
@@ -742,7 +742,6 @@ lua_url_create (lua_State *L)
LUA_TRACE_POINT;
rspamd_mempool_t *pool;
struct rspamd_lua_text *t;
- gboolean own_pool = FALSE;
struct rspamd_lua_url *u;
if (lua_type (L, 1) == LUA_TUSERDATA) {
@@ -750,7 +749,6 @@ lua_url_create (lua_State *L)
t = lua_check_text_or_string (L, 2);
}
else {
- own_pool = TRUE;
pool = static_lua_url_pool;
t = lua_check_text_or_string (L, 2);
}