Fixed a few minor visual analyzer warnings

This commit is contained in:
Yann Collet
2015-07-04 23:20:56 -08:00
parent 94f998b1fc
commit b5e06dc7c3
5 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -56,7 +56,7 @@
#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
# include <fcntl.h> /* _O_BINARY */
# include <io.h> /* _setmode, _isatty */
# define SET_BINARY_MODE(file) _setmode(_fileno(file), _O_BINARY)
# define SET_BINARY_MODE(file) {int unused = _setmode(_fileno(file), _O_BINARY); (void)unused; }
#else
# define SET_BINARY_MODE(file)
#endif