[evolution] e_mail_store_add_by_account(): Fix a potential use-before-set.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] e_mail_store_add_by_account(): Fix a potential use-before-set.
- Date: Sun, 29 May 2011 19:43:27 +0000 (UTC)
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]