changeset 15178:ab2abb987619

imap: Removed unnecessary code.
author Timo Sirainen <tss@iki.fi>
date Wed, 03 Oct 2012 03:19:20 +0300
parents 99843f74422a
children 3f55c6ca06f8
files src/imap/cmd-expunge.c src/imap/imap-client.h src/imap/imap-sync.c
diffstat 3 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/cmd-expunge.c	Wed Oct 03 02:29:02 2012 +0300
+++ b/src/imap/cmd-expunge.c	Wed Oct 03 03:19:20 2012 +0300
@@ -37,7 +37,6 @@
 	}
 
 	client->sync_seen_deletes = FALSE;
-	client->sync_seen_expunges = FALSE;
 	if ((client->enabled_features & MAILBOX_FEATURE_QRESYNC) != 0) {
 		return cmd_sync(cmd, MAILBOX_SYNC_FLAG_EXPUNGE,
 				IMAP_SYNC_FLAG_SAFE, "OK Expunge completed.");
--- a/src/imap/imap-client.h	Wed Oct 03 02:29:02 2012 +0300
+++ b/src/imap/imap-client.h	Wed Oct 03 03:19:20 2012 +0300
@@ -150,7 +150,6 @@
 	/* syncing marks this TRUE when it sees \Deleted flags. this is by
 	   EXPUNGE for Outlook-workaround. */
 	unsigned int sync_seen_deletes:1;
-	unsigned int sync_seen_expunges:1;
 	unsigned int disconnected:1;
 	unsigned int destroyed:1;
 	unsigned int handling_input:1;
--- a/src/imap/imap-sync.c	Wed Oct 03 02:29:02 2012 +0300
+++ b/src/imap/imap-sync.c	Wed Oct 03 03:19:20 2012 +0300
@@ -574,7 +574,6 @@
 			}
 			break;
 		case MAILBOX_SYNC_TYPE_EXPUNGE:
-			ctx->client->sync_seen_expunges = TRUE;
 			ret = imap_sync_send_expunges(ctx, str);
 			if (ret > 0) {
 				/* update only after we're finished, so that