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

Unified Diff: chrome/installer/setup/install_worker.cc

Issue 377683002: Fixes for re-enabling more MSVC level 4 warnings: chrome/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: chrome/installer/setup/install_worker.cc
diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc
index 8fab21273e5a115b3cb3efb20c271508abd13115..ca3908007192228e8dd25088c77ec2896452fde9 100644
--- a/chrome/installer/setup/install_worker.cc
+++ b/chrome/installer/setup/install_worker.cc
@@ -936,8 +936,8 @@ void AddEulaAcceptedWorkItems(const InstallationState& original_state,
// Copy the value from the product with the greatest value.
bool have_eula_accepted = false;
- BrowserDistribution::Type product_type;
- DWORD eula_accepted;
+ BrowserDistribution::Type product_type = BrowserDistribution::NUM_TYPES;
+ DWORD eula_accepted = 0;
const Products& products = installer_state.products();
for (Products::const_iterator it = products.begin(); it < products.end();
++it) {

Powered by Google App Engine
This is Rietveld 408576698