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:
parent
8676ce68e3
commit
2ffbd7afac
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user