From 27e45bef83fe17b339fe345e3455a67b7416e1d3 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 15 Jan 2016 15:54:43 +0000 Subject: Fix warnings. --- src/rspamadm/confighelp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rspamadm/confighelp.c') diff --git a/src/rspamadm/confighelp.c b/src/rspamadm/confighelp.c index 3b90a4700..43128f11c 100644 --- a/src/rspamadm/confighelp.c +++ b/src/rspamadm/confighelp.c @@ -195,7 +195,6 @@ rspamadm_confighelp_search_word (const ucl_object_t *obj, const gchar *str) static void rspamadm_confighelp (gint argc, gchar **argv) { - struct rspamd_rcl_section *top; struct rspamd_config *cfg; ucl_object_t *doc_obj; const ucl_object_t *elt; @@ -233,7 +232,7 @@ rspamadm_confighelp (gint argc, gchar **argv) cfg->compiled_modules = modules; cfg->compiled_workers = workers; - top = rspamd_rcl_config_init (cfg); + rspamd_rcl_config_init (cfg); /* Init modules to get documentation strings */ for (pmod = cfg->compiled_modules; pmod != NULL && *pmod != NULL; pmod++) { -- cgit v1.2.3