aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-identify.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-27 01:00:05 +0800
committerDan Winship <danw@src.gnome.org>2001-01-27 01:00:05 +0800
commit061393816b321692199d1a6e0aa8b0bb8661a161 (patch)
treeb1f5265d7f2759efb04de58d53c19b3ee87876af /mail/mail-identify.c
parent5be14f15c3f72022d7ea2e7f67663ece101d2d63 (diff)
downloadgsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.tar.gz
gsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.tar.zst
gsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.zip
Fix an uninitialized variable use.
* mail-identify.c (mail_identify_mime_part): Fix an uninitialized variable use. svn path=/trunk/; revision=7838
Diffstat (limited to 'mail/mail-identify.c')
-rw-r--r--mail/mail-identify.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/mail-identify.c b/mail/mail-identify.c
index 61b2d1fe10..e8b5f96a48 100644
--- a/mail/mail-identify.c
+++ b/mail/mail-identify.c
@@ -78,11 +78,10 @@ mail_identify_mime_part (CamelMimePart *part, MailDisplay *md)
} else
type = NULL;
camel_object_unref (CAMEL_OBJECT (memstream));
- }
-
- if (type)
- return g_strdup (type);
+ if (type)
+ return g_strdup (type);
+ }
/* Another possibility to try is the x-mac-type / x-mac-creator
* parameter to Content-Type used by some Mac email clients. That