]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Initialize vars to avoid warnings
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 May 2016 10:42:49 +0000 (11:42 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 5 May 2016 10:42:49 +0000 (11:42 +0100)
src/libmime/mime_expressions.c

index fd52d2f5845dea4cb2e061d4df2e3e551b48b11e..af0378e1dfc8c9bc1d157f2352496fd2637abe11 100644 (file)
@@ -1460,8 +1460,8 @@ static gboolean
 rspamd_check_smtp_data (struct rspamd_task *task, GArray * args, void *unused)
 {
        struct expression_argument *arg;
-       struct rspamd_email_address *addr;
-       GPtrArray *rcpts;
+       struct rspamd_email_address *addr = NULL;
+       GPtrArray *rcpts = NULL;
        const gchar *type, *str = NULL;
        guint i;