From afe06d15639d9add4c62880a3020c3707fdff9f9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 16 Jun 2009 00:06:30 +0000 Subject: fix compiler warning --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 91827c52f..858910828 100644 --- a/src/main.c +++ b/src/main.c @@ -3241,6 +3241,9 @@ static void set_nonblocking(struct Configurable *config, int fd) flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK); else warnf(config, "fcntl failed on fd=%d: %s\n", fd, strerror(errno)); +#else + (void) config; + (void) fd; #endif } -- cgit v1.2.3