aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-store.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-30 03:40:08 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-30 03:40:08 +0800
commitdb4de05e643a9a2563f61fbccc32a085e5e7c7d9 (patch)
treec5c63876070d53111c10e77387bea4139bef9965 /mail/e-mail-store.c
parent956aaa091fe4245599c7006df3aa9992a3aacec3 (diff)
downloadgsoc2013-evolution-db4de05e643a9a2563f61fbccc32a085e5e7c7d9.tar.gz
gsoc2013-evolution-db4de05e643a9a2563f61fbccc32a085e5e7c7d9.tar.zst
gsoc2013-evolution-db4de05e643a9a2563f61fbccc32a085e5e7c7d9.zip
e_mail_store_add_by_account(): Fix a potential use-before-set.
Diffstat (limited to 'mail/e-mail-store.c')
-rw-r--r--mail/e-mail-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c
index 08c676d618..e5d2012a65 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;