[evolution] Avoid using uninitialized variable in e_mail_folder_expunge_sync()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Avoid using uninitialized variable in e_mail_folder_expunge_sync()
- Date: Fri, 10 Aug 2012 13:17:07 +0000 (UTC)
commit 5e5cdafb9578d18863bc5b980831412664c60289
Author: Milan Crha <mcrha redhat com>
Date: Fri Aug 10 15:15:47 2012 +0200
Avoid using uninitialized variable in e_mail_folder_expunge_sync()
libemail-engine/e-mail-folder-utils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libemail-engine/e-mail-folder-utils.c b/libemail-engine/e-mail-folder-utils.c
index e22e2d7..07613ec 100644
--- a/libemail-engine/e-mail-folder-utils.c
+++ b/libemail-engine/e-mail-folder-utils.c
@@ -400,6 +400,7 @@ e_mail_folder_expunge_sync (CamelFolder *folder,
local_inbox = e_mail_session_get_local_folder (
E_MAIL_SESSION (session), E_MAIL_LOCAL_FOLDER_INBOX);
is_local_inbox = (folder == local_inbox);
+ is_local_trash = FALSE;
if (store_is_local && !is_local_inbox) {
CamelFolder *local_trash;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]