mirror of
https://github.com/curl/curl.git
synced 2026-05-19 09:56:21 +03:00
fix compiler warning
This commit is contained in:
parent
c40365e9b6
commit
afe06d1563
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue