[evolution-rss] Bug 733139 - Variable in file_to_message() can be used uninitialized



commit a4a3cca441e0dceef4121eb03c91952eccf3cb01
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jul 31 09:28:55 2014 +0200

    Bug 733139 - Variable in file_to_message() can be used uninitialized

 src/rss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index da888fd..c23cdf8 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -4181,7 +4181,7 @@ get_real_channel_name(gchar *uri, gchar *failed)
 CamelMimePart *
 file_to_message(const char *filename)
 {
-       const char *type;
+       const char *type = NULL;
        CamelStreamFs *file;
        CamelMimePart *msg = camel_mime_part_new();
        CamelDataWrapper *content;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]