aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-15 23:16:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-16 10:50:05 +0800
commitcae22334fa6bc395ccc421b09e0af94c89297c41 (patch)
tree84881f467c0448db044d8bb3533e044a7152bb2b /em-format
parentd37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff)
downloadgsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.bz2
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.lz
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.xz
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst
gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip
Remove dead assignments found by clang.
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);
}