repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 184eb1c54b10045ed7fe9e0aa4dfe3457c39c243:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 184eb1c54b10045ed7fe9e0aa4dfe3457c39c243
Author: Alexander Barton 
Date:   Sun Jul 23 23:11:44 2006 +0000

    Removed unused variable "ret" when using the select() API.

diff --git a/src/ngircd/io.c b/src/ngircd/io.c
index 36b854ab10cdc45c72a0d1ee682fcf8fb477268d..
index ..dd9b05f89e074e34052d66f81d2e95bac063ed6c 100644
--- a/src/ngircd/io.c
+++ b/src/ngircd/io.c
@@ -12,7 +12,7 @@

 #include "portab.h"

-static char UNUSED id[] = "$Id: io.c,v 1.15 2006/07/12 19:27:12 fw Exp $";
+static char UNUSED id[] = "$Id: io.c,v 1.16 2006/07/23 23:11:44 alex Exp $";

 #include 
 #include 
@@ -101,7 +101,9 @@ io_event_get(int fd)
 bool
 io_library_init(unsigned int eventsize)
 {
+#if defined(IO_USE_EPOLL) || defined(IO_USE_KQUEUE)
 	bool ret;
+#endif
 #ifdef IO_USE_EPOLL
 	int ecreate_hint = (int)eventsize;
 	if (ecreate_hint <= 0)

-----END OF PAGE-----