aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/re_cache.c
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2020-12-27 22:41:12 +0000
committerDuncan Bellamy <dunk@denkimushi.com>2020-12-29 23:20:38 +0000
commitd7738db6970c4cd838be067293abcdb5abc6a71c (patch)
treea7f54443bbb3ac6cc19522b113afff96e2899958 /src/libserver/re_cache.c
parentd6fcb8bd182e9646166ef446a1dfd03eff6417f0 (diff)
downloadrspamd-d7738db6970c4cd838be067293abcdb5abc6a71c.tar.gz
rspamd-d7738db6970c4cd838be067293abcdb5abc6a71c.zip
[Minor] Fix some compiler warnings
Diffstat (limited to 'src/libserver/re_cache.c')
-rw-r--r--src/libserver/re_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c
index b2596d0f4..d8e6d56d2 100644
--- a/src/libserver/re_cache.c
+++ b/src/libserver/re_cache.c
@@ -553,7 +553,7 @@ rspamd_re_cache_check_lua_condition (struct rspamd_task *task,
{
lua_State *L = (lua_State *)task->cfg->lua_state;
GError *err = NULL;
- struct rspamd_lua_text *t;
+ struct rspamd_lua_text __attribute__ ((unused)) *t;
gint text_pos;
if (G_LIKELY (lua_cbref == -1)) {