diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-15 15:54:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-15 15:54:43 +0000 |
commit | 27e45bef83fe17b339fe345e3455a67b7416e1d3 (patch) | |
tree | a916601653c8eaca9488d7dd55b4de565078047d /src/rspamadm/confighelp.c | |
parent | 46fd25c4dda2e4cc25f662dc5cb5dad0d4380503 (diff) | |
download | rspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.tar.gz rspamd-27e45bef83fe17b339fe345e3455a67b7416e1d3.zip |
Fix warnings.
Diffstat (limited to 'src/rspamadm/confighelp.c')
-rw-r--r-- | src/rspamadm/confighelp.c | 3 |
1 files changed, 1 insertions, 2 deletions
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++) { |