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

Unified Diff: chrome/browser/apps/drive/drive_app_mapping.cc

Issue 368133005: Fixes for re-enabling more MSVC level 4 warnings: chrome/browser/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/apps/drive/drive_app_mapping.cc
diff --git a/chrome/browser/apps/drive/drive_app_mapping.cc b/chrome/browser/apps/drive/drive_app_mapping.cc
index ae9531014ab83aa6409fa40754cb1c09b85a6a66..c64c06034e000e03003398f76c99c37a78819759 100644
--- a/chrome/browser/apps/drive/drive_app_mapping.cc
+++ b/chrome/browser/apps/drive/drive_app_mapping.cc
@@ -101,7 +101,7 @@ bool DriveAppMapping::IsChromeAppGenerated(
it.Advance()) {
const base::DictionaryValue* info_dict;
std::string value_string;
- bool generated;
+ bool generated = false;
DCHECK(it.value().IsType(base::Value::TYPE_DICTIONARY));
if (it.value().GetAsDictionary(&info_dict) &&
info_dict->GetStringWithoutPathExpansion(kKeyChromeApp,

Powered by Google App Engine
This is Rietveld 408576698