[evolution] Fix compiler warning



commit ff566c8be00db72e012f19fb0402d7e4fd74ab2b
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jun 28 10:53:08 2012 +0200

    Fix compiler warning

 modules/prefer-plain/e-mail-parser-prefer-plain.c |    6 +++---
 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 6780172..78faadc 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]