diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2014-12-14 22:31:10 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2014-12-14 22:31:10 +0100 |
commit | 2ffbd7afacf558af79c9f06f888f94a2699900c7 (patch) | |
tree | ce9c39091f60ca52372d2d3e327633de6c2c2ea6 /src/tool_binmode.c | |
parent | 8676ce68e3a06d698802cf070da97592bfb1f13b (diff) | |
download | curl-2ffbd7afacf558af79c9f06f888f94a2699900c7.tar.gz |
tool_binmode.c: Explicitly ignore the return code of setmode
Fixes code analysis warning C6031:
return value ignored: <function> could return unexpected value
Diffstat (limited to 'src/tool_binmode.c')
-rw-r--r-- | src/tool_binmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_binmode.c b/src/tool_binmode.c index 92033ac03..6447f480d 100644 --- a/src/tool_binmode.c +++ b/src/tool_binmode.c @@ -41,7 +41,7 @@ void set_binmode(FILE *stream) # ifdef __HIGHC__ _setmode(stream, O_BINARY); # else - setmode(fileno(stream), O_BINARY); + (void)setmode(fileno(stream), O_BINARY); # endif #else (void)stream; |