aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-autofilter.c')
-rw-r--r--mail/mail-autofilter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c
index 3eee3ad8eb..17d5f485d8 100644
--- a/mail/mail-autofilter.c
+++ b/mail/mail-autofilter.c
@@ -39,6 +39,7 @@
#include "mail-vfolder.h"
#include "mail-autofilter.h"
+#include "mail-component.h"
#include "camel/camel.h"
@@ -293,7 +294,7 @@ rule_from_message (FilterRule *rule, RuleContext *context, CamelMimeMessage *msg
g_free(mlist);
}
if (flags & AUTO_THREAD) {
- const char *msgid, *refs = NULL;
+ const char *msgid = NULL, *refs = NULL;
char *name;
if (!(refs = camel_medium_get_header ((CamelMedium *) msg, "References"))) {