diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-02-09 00:57:50 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:31 +0800 |
commit | 8efc1bc6f91e06ca61b00eb8119c9c36697e43a6 (patch) | |
tree | 95ec3e7ac41deec84bfd02de6ee05faf245b3dea /em-format | |
parent | be15d6730130da3f9e2fa6579233d5a9b304a7ea (diff) | |
download | gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar.gz gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar.bz2 gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar.lz gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar.xz gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.tar.zst gsoc2013-evolution-8efc1bc6f91e06ca61b00eb8119c9c36697e43a6.zip |
Bug 641756 - Fix warnings from GCC 4.6
GCC learned how to find dead assignments.
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/em-format.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c index cba7c765bc..27f3d1bfb6 100644 --- a/em-format/em-format.c +++ b/em-format/em-format.c @@ -1868,15 +1868,12 @@ emf_multipart_related (EMFormat *emf, for (i = 0; i < nparts; i++) { body_part = camel_multipart_get_part (mp, i); if (body_part != display_part) { - EMFormatPURI *puri; - /* set the partid since add_puri uses it */ g_string_append_printf(emf->part_id, ".related.%d", i); - puri = em_format_add_puri ( + em_format_add_puri ( emf, sizeof (EMFormatPURI), NULL, body_part, emf_write_related); g_string_truncate (emf->part_id, partidlen); - d(printf(" part '%s' '%s' added\n", puri->uri?puri->uri:"", puri->cid)); } } |