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

Unified Diff: chrome/installer/util/set_reg_value_work_item.cc

Issue 1210013007: clang/win: Fix warnings to prepare for building without -Wno-reorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-unsequenced
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
« no previous file with comments | « chrome/installer/util/self_reg_work_item.cc ('k') | cloud_print/service/win/chrome_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/set_reg_value_work_item.cc
diff --git a/chrome/installer/util/set_reg_value_work_item.cc b/chrome/installer/util/set_reg_value_work_item.cc
index 596fe7c8895ecd81944ddf262f16f4386b63a92c..edad9404694eec2080e1168af2cc0eed10189ac2 100644
--- a/chrome/installer/util/set_reg_value_work_item.cc
+++ b/chrome/installer/util/set_reg_value_work_item.cc
@@ -23,9 +23,9 @@ SetRegValueWorkItem::SetRegValueWorkItem(HKEY predefined_root,
value_name_(value_name),
overwrite_(overwrite),
wow64_access_(wow64_access),
- status_(SET_VALUE),
type_(REG_SZ),
- previous_type_(0) {
+ previous_type_(0),
+ status_(SET_VALUE) {
DCHECK(wow64_access == 0 ||
wow64_access == KEY_WOW64_32KEY ||
wow64_access == KEY_WOW64_64KEY);
@@ -44,9 +44,9 @@ SetRegValueWorkItem::SetRegValueWorkItem(HKEY predefined_root,
value_name_(value_name),
overwrite_(overwrite),
wow64_access_(wow64_access),
- status_(SET_VALUE),
type_(REG_DWORD),
- previous_type_(0) {
+ previous_type_(0),
+ status_(SET_VALUE) {
DCHECK(wow64_access == 0 ||
wow64_access == KEY_WOW64_32KEY ||
wow64_access == KEY_WOW64_64KEY);
@@ -65,9 +65,9 @@ SetRegValueWorkItem::SetRegValueWorkItem(HKEY predefined_root,
value_name_(value_name),
overwrite_(overwrite),
wow64_access_(wow64_access),
- status_(SET_VALUE),
type_(REG_QWORD),
- previous_type_(0) {
+ previous_type_(0),
+ status_(SET_VALUE) {
DCHECK(wow64_access == 0 ||
wow64_access == KEY_WOW64_32KEY ||
wow64_access == KEY_WOW64_64KEY);
« no previous file with comments | « chrome/installer/util/self_reg_work_item.cc ('k') | cloud_print/service/win/chrome_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698