mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
fix compiler warning
This commit is contained in:
parent
c40365e9b6
commit
afe06d1563
@ -3241,6 +3241,9 @@ static void set_nonblocking(struct Configurable *config, int fd)
|
|||||||
flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK);
|
flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK);
|
||||||
else
|
else
|
||||||
warnf(config, "fcntl failed on fd=%d: %s\n", fd, strerror(errno));
|
warnf(config, "fcntl failed on fd=%d: %s\n", fd, strerror(errno));
|
||||||
|
#else
|
||||||
|
(void) config;
|
||||||
|
(void) fd;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user