diff options
author | Dan Winship <danw@src.gnome.org> | 2001-01-27 01:00:05 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-01-27 01:00:05 +0800 |
commit | 061393816b321692199d1a6e0aa8b0bb8661a161 (patch) | |
tree | b1f5265d7f2759efb04de58d53c19b3ee87876af | |
parent | 5be14f15c3f72022d7ea2e7f67663ece101d2d63 (diff) | |
download | gsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.tar gsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.tar.gz gsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.tar.bz2 gsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.tar.lz gsoc2013-evolution-061393816b321692199d1a6e0aa8b0bb8661a161.tar.xz 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
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-identify.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 0615c9ca31..61a812139d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-01-26 Dan Winship <danw@ximian.com> + + * mail-identify.c (mail_identify_mime_part): Fix an uninitialized + variable use. + 2001-01-26 Jason Leach <jasonleach@usa.net> (Fixing an old FIXME) 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 |