From cae22334fa6bc395ccc421b09e0af94c89297c41 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 15 Jan 2010 10:16:25 -0500 Subject: Remove dead assignments found by clang. --- em-format/em-format-quote.c | 3 --- em-format/em-format.c | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'em-format') 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\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); } -- cgit