1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

fix compiler warning

This commit is contained in:
Yang Tse 2009-06-16 00:06:30 +00:00
parent c40365e9b6
commit afe06d1563

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
}