mirror of
https://github.com/osmarks/ngircd.git
synced 2025-08-06 22:03:48 +00:00
Removed unused variable "ret" when using the select() API.
This commit is contained in:
parent
5ce6bf28d1
commit
184eb1c54b
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#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 <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -101,7 +101,9 @@ io_event_get(int fd)
|
|||||||
bool
|
bool
|
||||||
io_library_init(unsigned int eventsize)
|
io_library_init(unsigned int eventsize)
|
||||||
{
|
{
|
||||||
|
#if defined(IO_USE_EPOLL) || defined(IO_USE_KQUEUE)
|
||||||
bool ret;
|
bool ret;
|
||||||
|
#endif
|
||||||
#ifdef IO_USE_EPOLL
|
#ifdef IO_USE_EPOLL
|
||||||
int ecreate_hint = (int)eventsize;
|
int ecreate_hint = (int)eventsize;
|
||||||
if (ecreate_hint <= 0)
|
if (ecreate_hint <= 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user