X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Fos_binary.hpp;h=a231c7090c61959c5dfd294502ccc100fefbf9a8;hb=9840c201de08419f5d940642974438917a44d849;hp=876bdb6c880e1d42dabf18873a4e1708306d1bc9;hpb=ee659c84695e9f94b1f6a5f8be203dc0012ca685;p=apitrace diff --git a/common/os_binary.hpp b/common/os_binary.hpp index 876bdb6..a231c70 100644 --- a/common/os_binary.hpp +++ b/common/os_binary.hpp @@ -49,6 +49,7 @@ void setBinaryMode(FILE *fp) { fflush(fp); int mode = _setmode(_fileno(fp), _O_BINARY); assert(mode != -1); + (void)mode; #else (void)fp; #endif