aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
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;