curl tool: fix compiler warning
authorYang Tse <yangsita@gmail.com>
Wed, 5 Oct 2011 20:27:29 +0000 (22:27 +0200)
committerYang Tse <yangsita@gmail.com>
Wed, 5 Oct 2011 20:27:29 +0000 (22:27 +0200)
src/tool_binmode.c

index 51bbb45..34422fd 100644 (file)
@@ -43,6 +43,8 @@ void set_binmode(FILE *stream)
 #  else
   setmode(fileno(stream), O_BINARY);
 #  endif
+#else
+  (void)stream;
 #endif
 }