dovecot-2.0: maildir: Removed some unnecessary code.

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 10 20:57:34 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/317cb0a6744b
changeset: 9918:317cb0a6744b
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 10 13:57:25 2009 -0400
description:
maildir: Removed some unnecessary code.

diffstat:

1 file changed, 4 deletions(-)
src/lib-storage/index/maildir/maildir-sync-index.c |    4 ----

diffs (28 lines):

diff -r 81011be1092f -r 317cb0a6744b src/lib-storage/index/maildir/maildir-sync-index.c
--- a/src/lib-storage/index/maildir/maildir-sync-index.c	Thu Sep 10 13:51:47 2009 -0400
+++ b/src/lib-storage/index/maildir/maildir-sync-index.c	Thu Sep 10 13:57:25 2009 -0400
@@ -30,8 +30,6 @@ struct maildir_index_sync_context {
 	ARRAY_TYPE(keyword_indexes) keywords, idx_keywords;
 
 	uint32_t seq, uid;
-
-	bool changed;
 };
 
 struct maildir_keywords_sync_ctx *
@@ -98,7 +96,6 @@ static int maildir_expunge(struct maildi
 			box->v.sync_notify(box, ctx->uid,
 					   MAILBOX_SYNC_TYPE_EXPUNGE);
 		}
-		ctx->changed = TRUE;
 		return 1;
 	}
 	if (errno == ENOENT)
@@ -163,7 +160,6 @@ static int maildir_sync_flags(struct mai
 		box->v.sync_notify(box, ctx->uid,
 				   index_sync_type_convert(sync_type));
 	}
-	ctx->changed = TRUE;
 	return 1;
 }
 


More information about the dovecot-cvs mailing list