aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-vfolder.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 96c941fb12..ed7742d90d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2004-05-26 Not Zed <NotZed@Ximian.com>
+ * mail-vfolder.c (vfolder_adduri_desc): initialise desc to NULL
+ before using it later on. gcc doesn't warn on this if you're not
+ optimising. Sigh. Probably fix #59070, #59060, #58972 and
+ friends.
+
* importers/evolution-mbox-importer.c (create_control_fn): set the
default selection to inbox.
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index 3781e22ae9..1f1f5eeec7 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -202,7 +202,7 @@ static char *
vfolder_adduri_desc(struct _mail_msg *mm, int done)
{
struct _adduri_msg *m = (struct _adduri_msg *)mm;
- char *euri, *desc;
+ char *euri, *desc = NULL;
/* Yuck yuck. Lookup the account name and use that to describe the path */
/* We really need to normalise this across all of camel and evolution :-/ */