[evolution-mapi] Fix possible use of uninitialized variable



commit fe370b18b8334bad4fc1ab6b0ce967dfc540157f
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 15 14:19:22 2012 +0100

    Fix possible use of uninitialized variable

 src/libexchangemapi/e-mapi-connection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/e-mapi-connection.c b/src/libexchangemapi/e-mapi-connection.c
index 8710a65..0be42da 100644
--- a/src/libexchangemapi/e-mapi-connection.c
+++ b/src/libexchangemapi/e-mapi-connection.c
@@ -2789,7 +2789,7 @@ e_mapi_connection_transfer_objects (EMapiConnection *conn,
 				    GCancellable *cancellable,
 				    GError **perror)
 {
-	enum MAPISTATUS ms;
+	enum MAPISTATUS ms = MAPI_E_CALL_FAILED;
 	TALLOC_CTX *mem_ctx;
 	const GSList *iter;
 	struct EnsureAdditionalPropertiesData eap;



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