From 7832c0f051fc31e8357e4f99da35e60d36c68026 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 26 May 2004 07:53:06 +0000 Subject: initialise desc to NULL before using it later on. gcc doesn't warn on this 2004-05-26 Not Zed * 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. svn path=/trunk/; revision=26096 --- mail/mail-vfolder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-vfolder.c') 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 :-/ */ -- cgit