aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-08-10 21:15:47 +0800
committerMilan Crha <mcrha@redhat.com>2012-08-10 21:16:45 +0800
commit5e5cdafb9578d18863bc5b980831412664c60289 (patch)
tree75fa6e2c277c13440a88872d1bee19ced97ddc60 /libemail-engine
parentee5671fc1a5e442b677cf73a191c4d34bd99a93a (diff)
downloadgsoc2013-evolution-5e5cdafb9578d18863bc5b980831412664c60289.tar
gsoc2013-evolution-5e5cdafb9578d18863bc5b980831412664c60289.tar.gz
gsoc2013-evolution-5e5cdafb9578d18863bc5b980831412664c60289.tar.bz2
gsoc2013-evolution-5e5cdafb9578d18863bc5b980831412664c60289.tar.lz
gsoc2013-evolution-5e5cdafb9578d18863bc5b980831412664c60289.tar.xz
gsoc2013-evolution-5e5cdafb9578d18863bc5b980831412664c60289.tar.zst
gsoc2013-evolution-5e5cdafb9578d18863bc5b980831412664c60289.zip
Avoid using uninitialized variable in e_mail_folder_expunge_sync()
Diffstat (limited to 'libemail-engine')
-rw-r--r--libemail-engine/e-mail-folder-utils.c1
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 e22e2d7360..07613ec252 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;