aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format-quote.c3
-rw-r--r--em-format/em-format.c5
2 files changed, 2 insertions, 6 deletions
diff --git a/em-format/em-format-quote.c b/em-format/em-format-quote.c
index 1da4fbec30..f77a6fb40a 100644
--- a/em-format/em-format-quote.c
+++ b/em-format/em-format-quote.c
@@ -533,11 +533,8 @@ emfq_text_enriched(EMFormatQuote *emfq, CamelStream *stream, CamelMimePart *part
{
CamelStreamFilter *filtered_stream;
CamelMimeFilter *enriched;
- CamelDataWrapper *dw;
guint32 flags = 0;
- dw = camel_medium_get_content_object((CamelMedium *)part);
-
if (!strcmp(info->mime_type, "text/richtext")) {
flags = CAMEL_MIME_FILTER_ENRICHED_IS_RICHTEXT;
camel_stream_write_string(stream, "\n<!-- text/richtext -->\n");
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 305feb9178..e5856a0fd1 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -250,9 +250,8 @@ static void
merge_missing (gpointer key, gpointer value, gpointer userdata)
{
struct _class_handlers *classes = (struct _class_handlers *) userdata;
- EMFormatHandler *info, *oldinfo;
+ EMFormatHandler *info;
- oldinfo = (EMFormatHandler *) value;
info = g_hash_table_lookup (classes->new->type_handlers, key);
if (!info) {
/* Might be from a plugin */
@@ -1783,7 +1782,7 @@ emf_application_mbox (EMFormat *emf,
camel_object_unref (message);
/* Skip past CAMEL_MIME_PARSER_STATE_FROM_END. */
- state = camel_mime_parser_step (parser, NULL, NULL);
+ camel_mime_parser_step (parser, NULL, NULL);
state = camel_mime_parser_step (parser, NULL, NULL);
}