[evolution/wip/gsettings] e_mail_store_add_by_account(): Fix a potential use-before-set.
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] e_mail_store_add_by_account(): Fix a potential use-before-set.
- Date: Wed, 29 Jun 2011 17:48:48 +0000 (UTC)
commit 5f7fff50655c7daed810f978c6b8d94ef9d0f2fb
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]