From: Yang Tse Date: Tue, 16 Jun 2009 00:06:30 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: curl-7_19_6~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afe06d15639d9add4c62880a3020c3707fdff9f9;p=curl fix compiler warning --- 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 }