[evolution-ews] Initialize val in get_property_as_int .



commit 9c90d2a5271d4063ff44413076b06182c8643152
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Tue Jun 28 12:15:01 2011 +0530

    Initialize val in get_property_as_int .

 src/server/e-ews-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/server/e-ews-connection.c b/src/server/e-ews-connection.c
index 4860b51..da2d88a 100644
--- a/src/server/e-ews-connection.c
+++ b/src/server/e-ews-connection.c
@@ -1244,7 +1244,7 @@ static gint
 get_property_as_int (xmlNodePtr node_ptr, const gchar *name)
 {
 	gchar *s;
-	gint val;
+	gint val = -1;
 	
 	s = get_property (node_ptr, name);
 	if (s)



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