[evolution-ews] e-book-backend-ews-gal.c:329:5: error: 'ret' may be used uninitialized in this function [-Werror=uni



commit 37c956c195b9c7ddc98845a378cb81427f62818a
Author: David Woodhouse <David Woodhouse intel com>
Date:   Mon Jul 11 14:28:08 2011 -0700

    e-book-backend-ews-gal.c:329:5: error: 'ret' may be used uninitialized in this function [-Werror=uninitialized]

 src/addressbook/e-book-backend-ews-gal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews-gal.c b/src/addressbook/e-book-backend-ews-gal.c
index 8f019e6..0d67dbf 100644
--- a/src/addressbook/e-book-backend-ews-gal.c
+++ b/src/addressbook/e-book-backend-ews-gal.c
@@ -315,7 +315,7 @@ ews_replace_gal_in_db (EBookBackendEwsGal *cbews, const gchar *filename, GCancel
 {
 	EBookBackendEwsGalPrivate *priv = cbews->priv;
 	EwsOabDecoder *eod;
-	gboolean ret;
+	gboolean ret = TRUE;
 	struct _db_data data;
 
 	/* remove the old address-book and create a new one in db */



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