Index: tools/telemetry/telemetry/core/bitmaptools.cc |
diff --git a/tools/telemetry/telemetry/core/bitmaptools.cc b/tools/telemetry/telemetry/core/bitmaptools.cc |
index ba4a8a59101e0c0d5274048d2797cd83b42804f8..7a335da87dfe147e78b8683ce8ff3173828411a5 100644 |
--- a/tools/telemetry/telemetry/core/bitmaptools.cc |
+++ b/tools/telemetry/telemetry/core/bitmaptools.cc |
@@ -237,8 +237,8 @@ int main() { |
_setmode(_fileno(stdin), _O_BINARY); |
_setmode(_fileno(stdout), _O_BINARY); |
#else |
- FILE* unused_stdin = freopen(NULL, "rb", stdin); |
- FILE* unused_stdout = freopen(NULL, "wb", stdout); |
+ static_cast<void>(freopen(NULL, "rb", stdin)); |
+ static_cast<void>(freopen(NULL, "wb", stdout)); |
#endif |
if (!bmp.Read()) return -1; |