diff options
author | Milan Crha <mcrha@redhat.com> | 2011-09-30 21:39:57 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-09-30 21:39:57 +0800 |
commit | 4c56856e05c6ab1468fe8ace4b73ac31b333990b (patch) | |
tree | 98304dd391494a7f9cc1aecebb99fe3b0f328377 /mail | |
parent | 2def4a73864c87c4dee25b04180c882e72a0fee1 (diff) | |
download | gsoc2013-evolution-4c56856e05c6ab1468fe8ace4b73ac31b333990b.tar.gz gsoc2013-evolution-4c56856e05c6ab1468fe8ace4b73ac31b333990b.tar.zst gsoc2013-evolution-4c56856e05c6ab1468fe8ace4b73ac31b333990b.zip |
Fix few 'may be used uninitialized' compiler warnings
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-store.c | 2 | ||||
-rw-r--r-- | mail/mail-ops.c | 2 | ||||
-rw-r--r-- | mail/message-list.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c index 885e34bc6b..e59e7b2abd 100644 --- a/mail/e-mail-store.c +++ b/mail/e-mail-store.c @@ -311,7 +311,7 @@ e_mail_store_add_by_account (EMailBackend *backend, CamelService *service = NULL; CamelProvider *provider; CamelURL *url; - gboolean skip, transport_only; + gboolean skip = FALSE, transport_only; GError *error = NULL; g_return_val_if_fail (E_IS_MAIL_BACKEND (backend), NULL); diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 0ff745e413..57885172a9 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -215,7 +215,7 @@ fetch_mail_exec (struct _fetch_mail_msg *m, CamelFolder *folder = NULL; CamelURL *url; const gchar *uid; - gboolean is_local_delivery; + gboolean is_local_delivery = FALSE; gint i; fm->destination = e_mail_local_get_folder ( diff --git a/mail/message-list.c b/mail/message-list.c index 602bdfa4dd..1e903a3f48 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -4125,7 +4125,7 @@ on_click (ETree *tree, CamelMessageInfo *info; gboolean folder_is_trash; const gchar *uid; - gint flag; + gint flag = 0; guint32 flags; if (col == COL_MESSAGE_STATUS) |