[dovecot-cvs] dovecot/src/plugins/fts-squat squat-uidlist.c, 1.7, 1.8

tss at dovecot.org tss at dovecot.org
Wed Dec 20 13:56:50 UTC 2006


Update of /var/lib/cvs/dovecot/src/plugins/fts-squat
In directory talvi:/tmp/cvs-serv19963

Modified Files:
	squat-uidlist.c 
Log Message:
Removed unneeded code



Index: squat-uidlist.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts-squat/squat-uidlist.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- squat-uidlist.c	9 Dec 2006 23:58:12 -0000	1.7
+++ squat-uidlist.c	20 Dec 2006 13:56:48 -0000	1.8
@@ -1047,8 +1047,6 @@
 			 ARRAY_TYPE(seq_range) *result)
 {
 	struct squat_uidlist_get_context ctx;
-	const struct seq_range *range;
-	unsigned int count;
 
 	memset(&ctx, 0, sizeof(ctx));
 	ctx.uidlist = uidlist;
@@ -1056,12 +1054,6 @@
 	ctx.filter_pos = 1;
 
 	return squat_uidlist_get_ctx(&ctx, uid_list_idx);
-
-	range = array_get(ctx.result, &count);
-	if (count > 0) {
-		for (; ctx.filter_pos <= range[count-1].seq2; ctx.filter_pos++)
-			seq_range_array_remove(result, ctx.filter_pos);
-	}
 }
 
 bool squat_uidlist_want_flush(struct squat_uidlist *uidlist)



More information about the dovecot-cvs mailing list