dovecot-2.2: Removed dead assignments.

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 21 14:16:50 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/fda302d15042
changeset: 15878:fda302d15042
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 21 14:16:45 2013 +0200
description:
Removed dead assignments.

diffstat:

 src/lib-http/test-http-transfer.c           |  1 -
 src/lib-storage/list/mailbox-list-fs-iter.c |  1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 69af3ef3a482 -r fda302d15042 src/lib-http/test-http-transfer.c
--- a/src/lib-http/test-http-transfer.c	Thu Feb 21 14:15:15 2013 +0200
+++ b/src/lib-http/test-http-transfer.c	Thu Feb 21 14:16:45 2013 +0200
@@ -273,7 +273,6 @@
 		ochunked = http_transfer_chunked_ostream_create(output);
 
 		/* send input through chunked stream; chunk size is limited */
-		ret = 0;
 		for (;;) {
 			ret = i_stream_read_data(input, &rdata, &rsize, 0);
 			if (ret < 0) {
diff -r 69af3ef3a482 -r fda302d15042 src/lib-storage/list/mailbox-list-fs-iter.c
--- a/src/lib-storage/list/mailbox-list-fs-iter.c	Thu Feb 21 14:15:15 2013 +0200
+++ b/src/lib-storage/list/mailbox-list-fs-iter.c	Thu Feb 21 14:16:45 2013 +0200
@@ -388,7 +388,6 @@
 			   where we could optimize with root=prefix, but
 			   probably too much trouble to implement. */
 			prefix_vname = "";
-			p = last = pattern;
 		} else {
 			for (p = last = pattern; *p != '\0'; p++) {
 				if (*p == '%' || *p == '*')


More information about the dovecot-cvs mailing list