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

Unified Diff: base/files/memory_mapped_file_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: 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
Index: base/files/memory_mapped_file_win.cc
diff --git a/base/files/memory_mapped_file_win.cc b/base/files/memory_mapped_file_win.cc
index 4e7e934e1c858823f13a2c7842a1daa0e390591b..85859061ef320958fc022afd9082d07a65f660ee 100644
--- a/base/files/memory_mapped_file_win.cc
+++ b/base/files/memory_mapped_file_win.cc
@@ -32,7 +32,7 @@ bool MemoryMappedFile::MapFileRegionToMemory(
if (!file_mapping_.IsValid())
return false;
- LARGE_INTEGER map_start = {0};
+ LARGE_INTEGER map_start = {};
SIZE_T map_size = 0;
int32 data_offset = 0;

Powered by Google App Engine
This is Rietveld 408576698