aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-26 15:53:06 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-26 15:53:06 +0800
commit7832c0f051fc31e8357e4f99da35e60d36c68026 (patch)
treed9c8fa3a1d56b56aaa8d176871ad66fc24f36d2c /mail/mail-vfolder.c
parent704830048ee19963309dc59dca077653a50634d6 (diff)
downloadgsoc2013-evolution-7832c0f051fc31e8357e4f99da35e60d36c68026.tar.gz
gsoc2013-evolution-7832c0f051fc31e8357e4f99da35e60d36c68026.tar.zst
gsoc2013-evolution-7832c0f051fc31e8357e4f99da35e60d36c68026.zip
initialise desc to NULL before using it later on. gcc doesn't warn on this
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. svn path=/trunk/; revision=26096
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r--mail/mail-vfolder.c2
1 files changed, 1 insertions, 1 deletions
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 :-/ */