dovecot: Ignore io_loop_get_wait_time() return value, we don't n...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jan 12 10:49:09 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/4ecc97c9ce12
changeset: 7153:4ecc97c9ce12
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jan 12 10:49:04 2008 +0200
description:
Ignore io_loop_get_wait_time() return value, we don't need it.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib/ioloop-kqueue.c |    4 ++--

diffs (16 lines):

diff -r 3e506d46655f -r 4ecc97c9ce12 src/lib/ioloop-kqueue.c
--- a/src/lib/ioloop-kqueue.c	Sat Jan 12 10:48:52 2008 +0200
+++ b/src/lib/ioloop-kqueue.c	Sat Jan 12 10:49:04 2008 +0200
@@ -115,10 +115,10 @@ void io_loop_handler_run(struct ioloop *
 	struct timespec ts;
 	struct io_file *io;
 	unsigned int events_count, t_id;
-	int msecs, ret, i;
+	int ret, i;
 
 	/* get the time left for next timeout task */
-	msecs = io_loop_get_wait_time(ioloop, &tv, NULL);
+	io_loop_get_wait_time(ioloop, &tv, NULL);
 	ts.tv_sec = tv.tv_sec;
 	ts.tv_nsec = tv.tv_usec * 1000;
 


More information about the dovecot-cvs mailing list