From 061393816b321692199d1a6e0aa8b0bb8661a161 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 26 Jan 2001 17:00:05 +0000 Subject: Fix an uninitialized variable use. * mail-identify.c (mail_identify_mime_part): Fix an uninitialized variable use. svn path=/trunk/; revision=7838 --- mail/mail-identify.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mail/mail-identify.c') 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 -- cgit v1.2.3