fix compiler warning

This commit is contained in:
Yang Tse 2009-06-16 00:06:30 +00:00
parent c40365e9b6
commit afe06d1563
1 changed files with 3 additions and 0 deletions

View File

@ -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
}