dovecot-1.2: maildir: Removed some unnecessary code.

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


details:   http://hg.dovecot.org/dovecot-1.2/rev/fcb34048a29c
changeset: 9375:fcb34048a29c
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 10 13:57:26 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 58630516a9d4 -r fcb34048a29c 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:26 2009 -0400
@@ -29,8 +29,6 @@ struct maildir_index_sync_context {
 	ARRAY_TYPE(keyword_indexes) keywords, idx_keywords;
 
 	uint32_t seq, uid;
-
-	bool changed;
 };
 
 struct maildir_keywords_sync_ctx *
@@ -50,7 +48,6 @@ static int maildir_expunge(struct maildi
 					   MAILBOX_SYNC_TYPE_EXPUNGE);
 		}
 		mail_index_expunge(ctx->trans, ctx->seq);
-		ctx->changed = TRUE;
 		return 1;
 	}
 	if (errno == ENOENT)
@@ -115,7 +112,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