From 4903d10a85bebc25f547c261af37a3159ba72f25 Mon Sep 17 00:00:00 2001 From: "wtc@chromium.org" Date: Fri, 11 Feb 2011 21:22:01 +0000 Subject: 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 --- net/http/http_auth_cache.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net') 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) { -- cgit v1.1