[evolution] e_mail_store_add_by_account(): Fix a potential use-before-set.



commit db4de05e643a9a2563f61fbccc32a085e5e7c7d9
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun May 29 15:40:08 2011 -0400

    e_mail_store_add_by_account(): Fix a potential use-before-set.

 mail/e-mail-store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c
index 08c676d..e5d2012 100644
--- a/mail/e-mail-store.c
+++ b/mail/e-mail-store.c
@@ -294,7 +294,7 @@ CamelStore *
 e_mail_store_add_by_account (EMailSession *session,
                              EAccount *account)
 {
-	CamelService *service;
+	CamelService *service = NULL;
 	CamelProvider *provider;
 	CamelURL *url;
 	gboolean skip;



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