Fix compiler warning

This commit is contained in:
Milan Crha
2012-06-28 10:53:08 +02:00
parent 4378640815
commit ff566c8be0

View File

@ -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;