diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-26 23:19:39 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-26 23:19:39 +0000 |
commit | 1f7987b2f415fd1ac4d580cd68e00d0feb71d822 (patch) | |
tree | 3e247a61a9b9d9d401ebf19118e21b7ff31bfeb7 /chrome/browser/net | |
parent | c11cfdb9bd5b45bb2c710a875944fb6f9d6d21de (diff) | |
download | chromium_src-1f7987b2f415fd1ac4d580cd68e00d0feb71d822.zip chromium_src-1f7987b2f415fd1ac4d580cd68e00d0feb71d822.tar.gz chromium_src-1f7987b2f415fd1ac4d580cd68e00d0feb71d822.tar.bz2 |
fix linux opt build
Set initial values to 0.
TBR=jar
Review URL: http://codereview.chromium.org/12507
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net')
-rw-r--r-- | chrome/browser/net/referrer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/referrer.cc b/chrome/browser/net/referrer.cc index d055ab9..45982fa 100644 --- a/chrome/browser/net/referrer.cc +++ b/chrome/browser/net/referrer.cc @@ -29,8 +29,8 @@ void Referrer::SuggestHost(const std::string& host) { void Referrer::DeleteLeastUseful() { std::string least_useful_name; // We use longs for durations because we will use multiplication on them. - int64 least_useful_latency; // Duration in milliseconds. - int64 least_useful_lifetime; // Duration in milliseconds. + int64 least_useful_latency = 0; // Duration in milliseconds. + int64 least_useful_lifetime = 0; // Duration in milliseconds. const base::Time kNow(base::Time::Now()); // Avoid multiple calls. for (HostNameMap::iterator it = this->begin(); it != this->end(); ++it) { |