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

Unified Diff: base/process/launch_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/files/memory_mapped_file_win.cc ('k') | base/profiler/stack_sampling_profiler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/launch_win.cc
diff --git a/base/process/launch_win.cc b/base/process/launch_win.cc
index ebc19b8313093e6261999e909e4156ff9ea8d90e..fa59f1ae90744469e397d3bd778cb8b1e98150c4 100644
--- a/base/process/launch_win.cc
+++ b/base/process/launch_win.cc
@@ -238,7 +238,7 @@ Process LaunchElevatedProcess(const CommandLine& cmdline,
const string16 file = cmdline.GetProgram().value();
const string16 arguments = cmdline.GetArgumentsString();
- SHELLEXECUTEINFO shex_info = {0};
+ SHELLEXECUTEINFO shex_info = {};
shex_info.cbSize = sizeof(shex_info);
shex_info.fMask = SEE_MASK_NOCLOSEPROCESS;
shex_info.hwnd = GetActiveWindow();
@@ -261,7 +261,7 @@ Process LaunchElevatedProcess(const CommandLine& cmdline,
}
bool SetJobObjectLimitFlags(HANDLE job_object, DWORD limit_flags) {
- JOBOBJECT_EXTENDED_LIMIT_INFORMATION limit_info = {0};
+ JOBOBJECT_EXTENDED_LIMIT_INFORMATION limit_info = {};
limit_info.BasicLimitInformation.LimitFlags = limit_flags;
return 0 != SetInformationJobObject(
job_object,
« no previous file with comments | « base/files/memory_mapped_file_win.cc ('k') | base/profiler/stack_sampling_profiler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698