Commit 2ffbd7af authored by Marc Hoersken's avatar Marc Hoersken
Browse files

tool_binmode.c: Explicitly ignore the return code of setmode

Fixes code analysis warning C6031:
return value ignored: <function> could return unexpected value
parent 8676ce68
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;