dovecot-2.0: askpass: Removed unnecessary code.

dovecot at dovecot.org dovecot at dovecot.org
Tue Nov 30 02:20:13 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/a131a498731f
changeset: 12484:a131a498731f
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Nov 30 00:20:09 2010 +0000
description:
askpass: Removed unnecessary code.

diffstat:

 src/lib/askpass.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 719ce27f9955 -r a131a498731f src/lib/askpass.c
--- a/src/lib/askpass.c	Tue Nov 30 00:17:20 2010 +0000
+++ b/src/lib/askpass.c	Tue Nov 30 00:20:09 2010 +0000
@@ -14,7 +14,6 @@
 {
         struct termios old_tio, tio;
 	bool tty, restore_tio = FALSE;
-	size_t pos;
 	char ch;
 	int fd;
 
@@ -40,7 +39,6 @@
 	}
 
 	/* read the password */
-	pos = 0;
 	while (read(fd, &ch, 1) > 0) {
 		if (ch == '\n' || ch == '\r')
 			break;


More information about the dovecot-cvs mailing list