tool_binmode.c: Explicitly ignore the return code of setmode

Fixes code analysis warning C6031:
return value ignored: <function> could return unexpected value
This commit is contained in:
Marc Hoersken 2014-12-14 22:31:10 +01:00
parent 8676ce68e3
commit 2ffbd7afac
1 changed files with 1 additions and 1 deletions

View File

@ -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;