[evolution/webkit] e_mail_store_add_by_account(): Fix a potential	use-before-set.
- From: Dan VrÃtil <dvratil src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [evolution/webkit] e_mail_store_add_by_account(): Fix a potential	use-before-set.
 
- Date: Mon, 11 Jul 2011 14:50:44 +0000 (UTC)
 
commit 1395103de2e621b9afcfb57a2d30bbd78134afee
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]