aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-06-28 16:53:08 +0800
committerMilan Crha <mcrha@redhat.com>2012-06-28 16:53:08 +0800
commitff566c8be00db72e012f19fb0402d7e4fd74ab2b (patch)
tree20c883f7bca7c52a3cf6ec35b1f01ff1fcf35d58
parent437864081558dca587277ce6636ca0e4e16ca15a (diff)
downloadgsoc2013-evolution-ff566c8be00db72e012f19fb0402d7e4fd74ab2b.tar.gz
gsoc2013-evolution-ff566c8be00db72e012f19fb0402d7e4fd74ab2b.tar.zst
gsoc2013-evolution-ff566c8be00db72e012f19fb0402d7e4fd74ab2b.zip
Fix compiler warning
-rw-r--r--modules/prefer-plain/e-mail-parser-prefer-plain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/prefer-plain/e-mail-parser-prefer-plain.c b/modules/prefer-plain/e-mail-parser-prefer-plain.c
index 6780172224..78faadcd63 100644
--- a/modules/prefer-plain/e-mail-parser-prefer-plain.c
+++ b/modules/prefer-plain/e-mail-parser-prefer-plain.c
@@ -277,12 +277,12 @@ empe_prefer_plain_parse (EMailParserExtension *extension,
/* Multiparts can represent a text/html with inline images or so */
if (camel_content_type_is (ct, "multipart", "*")) {
- sparts = e_mail_parser_parse_part (
- parser, sp, part_id, cancellable);
-
GSList *iter;
gboolean has_html = FALSE;
+ sparts = e_mail_parser_parse_part (
+ parser, sp, part_id, cancellable);
+
/* Check whether the multipart contains a text/html part */
for (iter = sparts; iter; iter = g_slist_next (iter)) {
EMailPart *p = iter->data;