projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7296b2a
)
curl tool: fix compiler warning
author
Yang Tse
<yangsita@gmail.com>
Wed, 5 Oct 2011 20:27:29 +0000
(22:27 +0200)
committer
Yang Tse
<yangsita@gmail.com>
Wed, 5 Oct 2011 20:27:29 +0000
(22:27 +0200)
src/tool_binmode.c
patch
|
blob
|
history
diff --git
a/src/tool_binmode.c
b/src/tool_binmode.c
index
51bbb45
..
34422fd
100644
(file)
--- 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
}