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

Unified Diff: webrtc/system_wrappers/source/clock.cc

Issue 1216353002: Fix some clang warnings with -Wmissing-braces in WebRTC. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git@master
Patch Set: Fix paths, maybe 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 | « webrtc/modules/desktop_capture/desktop_frame_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/source/clock.cc
diff --git a/webrtc/system_wrappers/source/clock.cc b/webrtc/system_wrappers/source/clock.cc
index a7f261a8b29d8f9257e8d9644341f8b0c62812e2..31c52263487812f9553dd18b6b9d0a7732ef82dc 100644
--- a/webrtc/system_wrappers/source/clock.cc
+++ b/webrtc/system_wrappers/source/clock.cc
@@ -155,9 +155,9 @@ class WindowsRealTimeClock : public RealTimeClock {
}
static ReferencePoint GetSystemReferencePoint() {
- ReferencePoint ref = {0};
- FILETIME ft0 = {0};
- FILETIME ft1 = {0};
+ ReferencePoint ref = {};
+ FILETIME ft0 = {};
+ FILETIME ft1 = {};
// Spin waiting for a change in system time. As soon as this change happens,
// get the matching call for timeGetTime() as soon as possible. This is
// assumed to be the most accurate offset that we can get between
« no previous file with comments | « webrtc/modules/desktop_capture/desktop_frame_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698