summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/expire_history_backend.cc
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-16 22:20:44 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-16 22:20:44 +0000
commit30a06c142de3b9198a44251b1ccc11fa838ef7ef (patch)
treee7ad7f6460ac26e6ae02688361b4becdeb9a7e64 /chrome/browser/history/expire_history_backend.cc
parentcfc06f12ec93799d758164c22b4e53125eaade8d (diff)
downloadchromium_src-30a06c142de3b9198a44251b1ccc11fa838ef7ef.zip
chromium_src-30a06c142de3b9198a44251b1ccc11fa838ef7ef.tar.gz
chromium_src-30a06c142de3b9198a44251b1ccc11fa838ef7ef.tar.bz2
Linux: fix uninit warnings when building -Os.
http://codereview.chromium.org/401002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32105 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/expire_history_backend.cc')
-rw-r--r--chrome/browser/history/expire_history_backend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/history/expire_history_backend.cc b/chrome/browser/history/expire_history_backend.cc
index 3c1aff3..882a53c 100644
--- a/chrome/browser/history/expire_history_backend.cc
+++ b/chrome/browser/history/expire_history_backend.cc
@@ -349,7 +349,7 @@ void ExpireHistoryBackend::DeleteVisitRelatedInfo(
// Add the URL row to the affected URL list.
std::map<URLID, URLRow>::const_iterator found =
dependencies->affected_urls.find(visits[i].url_id);
- const URLRow* cur_row;
+ const URLRow* cur_row = NULL;
if (found == dependencies->affected_urls.end()) {
URLRow row;
if (!main_db_->GetURLRow(visits[i].url_id, &row))