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

Unified Diff: chrome/browser/prefs/leveldb_pref_store.cc

Issue 310463009: LevelDBPrefStore: Initialize uninitialized member in constructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/leveldb_pref_store.cc
diff --git a/chrome/browser/prefs/leveldb_pref_store.cc b/chrome/browser/prefs/leveldb_pref_store.cc
index b5358964b0cc89b340b3e288ab1e5b0c9d07b73d..f951b4cf27f40112b7d01700f98283589e86d3fc 100644
--- a/chrome/browser/prefs/leveldb_pref_store.cc
+++ b/chrome/browser/prefs/leveldb_pref_store.cc
@@ -49,7 +49,7 @@ PersistentPrefStore::PrefReadError IntToPrefReadError(int error) {
} // namespace
struct LevelDBPrefStore::ReadingResults {
- ReadingResults() : error(0) {}
+ ReadingResults() : no_dir(true), error(0) {}
bool no_dir;
scoped_ptr<leveldb::DB> db;
scoped_ptr<PrefValueMap> value_map;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698