diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-02-09 00:57:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-02-09 00:57:50 +0800 |
commit | 2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec (patch) | |
tree | e311c2818c68f66126ee6879abd4a080b4b7ad6f /mail/em-format-html.c | |
parent | eef8eda70ed8f716eeaae7dd8d9c81640b0dd4f8 (diff) | |
download | gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.tar.gz gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.tar.zst gsoc2013-evolution-2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec.zip |
Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r-- | mail/em-format-html.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index f32124d321..fb7ad59568 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -2175,8 +2175,6 @@ efh_multipart_related (EMFormat *emf, CamelContentType *content_type; const gchar *start; gint i, nparts, partidlen, displayid = 0; - /* puri is set but never used */ - EMFormatPURI *puri; struct _EMFormatHTMLJob *job; if (!CAMEL_IS_MULTIPART (mp)) { @@ -2225,7 +2223,7 @@ efh_multipart_related (EMFormat *emf, body_part = camel_multipart_get_part (mp, i); if (body_part != display_part) { g_string_append_printf(emf->part_id, "related.%d", i); - puri = em_format_add_puri (emf, sizeof (EMFormatPURI), NULL, body_part, emfh_write_related); + em_format_add_puri (emf, sizeof (EMFormatPURI), NULL, body_part, emfh_write_related); g_string_truncate (emf->part_id, partidlen); d(printf(" part '%s' '%s' added\n", puri->uri?puri->uri:"", puri->cid)); } |