diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 21:22:01 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-11 21:22:01 +0000 |
commit | 4903d10a85bebc25f547c261af37a3159ba72f25 (patch) | |
tree | 2487ae6caa559e6d744df23b563ffa762973313c /net/http | |
parent | 02a9ac8c98166906aa678b31b439fcb862c30338 (diff) | |
download | chromium_src-4903d10a85bebc25f547c261af37a3159ba72f25.zip chromium_src-4903d10a85bebc25f547c261af37a3159ba72f25.tar.gz chromium_src-4903d10a85bebc25f547c261af37a3159ba72f25.tar.bz2 |
Fix Coverity UNINIT_CTOR defect in the HttpAuthCache::Entry
constructor.
R=cbentzel
CID=8793
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6492001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74672 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_auth_cache.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc index 3e5007f..95d0d69 100644 --- a/net/http/http_auth_cache.cc +++ b/net/http/http_auth_cache.cc @@ -150,7 +150,8 @@ void HttpAuthCache::Entry::UpdateStaleChallenge( } HttpAuthCache::Entry::Entry() - : nonce_count_(0) { + : scheme_(HttpAuth::AUTH_SCHEME_MAX), + nonce_count_(0) { } void HttpAuthCache::Entry::AddPath(const std::string& path) { |