summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2023-09-08 12:05:12 +0200
committerLinus Nordberg <linus@nordberg.se>2023-09-08 12:05:12 +0200
commit8f901645d93f392df3dc60969d026b2eeeab9888 (patch)
tree429a849464f2b6d8558b570df28d4c20f894f54f /test
parentf4a6e61ef789c6e472a89ffa2a7ead7141ae8593 (diff)
downloadrspamd-8f901645d93f392df3dc60969d026b2eeeab9888.tar.gz
rspamd-8f901645d93f392df3dc60969d026b2eeeab9888.zip
[Minor] Remove unused variables
Diffstat (limited to 'test')
-rw-r--r--test/rspamd_mem_pool_test.c2
-rw-r--r--test/rspamd_radix_test.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/test/rspamd_mem_pool_test.c b/test/rspamd_mem_pool_test.c
index fb3cf31e0..626cc078b 100644
--- a/test/rspamd_mem_pool_test.c
+++ b/test/rspamd_mem_pool_test.c
@@ -16,8 +16,6 @@ void rspamd_mem_pool_test_func(void)
rspamd_mempool_t *pool;
rspamd_mempool_stat_t st;
char *tmp, *tmp2, *tmp3;
- pid_t pid;
- int ret;
pool = rspamd_mempool_new(sizeof(TEST_BUF), NULL, 0);
tmp = rspamd_mempool_alloc(pool, sizeof(TEST_BUF));
diff --git a/test/rspamd_radix_test.c b/test/rspamd_radix_test.c
index 426eb1f54..8d31dc169 100644
--- a/test/rspamd_radix_test.c
+++ b/test/rspamd_radix_test.c
@@ -206,7 +206,6 @@ void rspamd_radix_test_func(void)
{
struct btrie *btrie;
rspamd_mempool_t *pool;
- radix_compressed_t *comp_tree = radix_create_compressed(NULL);
struct {
guint32 addr;
guint32 mask;