aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_binmode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tool_binmode.c b/src/tool_binmode.c
index 51bbb45d2..34422fdef 100644
--- 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
}