[evolution-data-server] Silence compiler warning in imapx_job_matches()



commit a83223f39d38bda32a8a5cf06dd6b821ec43f9b1
Author: David Woodhouse <David Woodhouse intel com>
Date:   Mon Jun 21 20:56:40 2010 +0100

    Silence compiler warning in imapx_job_matches()
    
    It's a false positive, but it's annoying:
    camel-imapx-server.c: In function â??imapx_job_matchesâ??:
    camel-imapx-server.c:1004: warning: â??full_nameâ?? may be used uninitialized in this function

 camel/providers/imapx/camel-imapx-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 0e4b777..fbbfc36 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1002,7 +1002,7 @@ found:
 static gboolean
 imapx_job_matches (const gchar *folder_name, CamelIMAPXJob *job, guint32 type, const gchar *uid)
 {
-	const gchar *full_name;
+	const gchar *full_name = NULL;
 
 	if (job->folder)
 		full_name = camel_folder_get_full_name (job->folder);



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