summaryrefslogtreecommitdiff
path: root/src/tool_binmode.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-10-05 22:27:29 +0200
committerYang Tse <yangsita@gmail.com>2011-10-05 22:27:29 +0200
commit4a57bf6d101fed17c9488f0a8f81c0e082123a80 (patch)
treeb1d65dfaecea13b338b707840538d6b815ac71d7 /src/tool_binmode.c
parent7296b2aa256049bec7ea7a372dee5cb319c7feca (diff)
downloadcurl-4a57bf6d101fed17c9488f0a8f81c0e082123a80.tar.gz
curl tool: fix compiler warning
Diffstat (limited to 'src/tool_binmode.c')
-rw-r--r--src/tool_binmode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_binmode.c b/src/tool_binmode.c
index 51bbb45d2..34422fdef 100644
--- a/src/tool_binmode.c
+++ b/src/tool_binmode.c
@@ -43,6 +43,8 @@ void set_binmode(FILE *stream)
# else
setmode(fileno(stream), O_BINARY);
# endif
+#else
+ (void)stream;
#endif
}