Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Unified Diff: tools/telemetry/telemetry/core/bitmaptools.cc

Issue 930933003: Add GN targets for codesighs and telemetry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: -copies Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« third_party/codesighs/BUILD.gn ('K') | « tools/telemetry/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« third_party/codesighs/BUILD.gn ('K') | « tools/telemetry/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698