dovecot: Remove compiler warning from currently unused/broken code.

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 27 23:03:15 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/1002deeef3a5
changeset: 6634:1002deeef3a5
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 27 23:03:10 2007 +0300
description:
Remove compiler warning from currently unused/broken code.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/index/dbox/dbox-sync-file.c |    2 +-

diffs (12 lines):

diff -r 5d73517a9b98 -r 1002deeef3a5 src/lib-storage/index/dbox/dbox-sync-file.c
--- a/src/lib-storage/index/dbox/dbox-sync-file.c	Sat Oct 27 22:58:20 2007 +0300
+++ b/src/lib-storage/index/dbox/dbox-sync-file.c	Sat Oct 27 23:03:10 2007 +0300
@@ -87,7 +87,7 @@ dbox_sync_file_expunge(struct dbox_sync_
 	mail_index_expunge(ctx->trans, expunges[0].seq1);
 
 	offset = first_offset;
-	for (;;) {
+	for (i = 0;;) {
 		if ((ret = dbox_file_seek_next(file, &offset, &uid,
 					       &physical_size)) <= 0)
 			break;


More information about the dovecot-cvs mailing list