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

Unified Diff: base/time/time_win.cc

Issue 1218243002: Fix some clang warnings with -Wmissing-braces in base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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
« no previous file with comments | « base/third_party/nspr/prtime.cc ('k') | base/trace_event/trace_event_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time_win.cc
diff --git a/base/time/time_win.cc b/base/time/time_win.cc
index 91444830009097bed18067285cdb50ca7e9771a7..e9044603e9aedf7a7841d6f2e8406ad68289f291 100644
--- a/base/time/time_win.cc
+++ b/base/time/time_win.cc
@@ -428,7 +428,7 @@ bool IsBuggyAthlon(const base::CPU& cpu) {
}
void InitializeNowFunctionPointers() {
- LARGE_INTEGER ticks_per_sec = {0};
+ LARGE_INTEGER ticks_per_sec = {};
if (!QueryPerformanceFrequency(&ticks_per_sec))
ticks_per_sec.QuadPart = 0;
« no previous file with comments | « base/third_party/nspr/prtime.cc ('k') | base/trace_event/trace_event_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698