diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 02:25:33 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-08 02:25:33 +0000 |
commit | 3c810bb76cc6c27a3a46ca94c16ee81b78c30bf6 (patch) | |
tree | 62a6b7777b170d89e7051b9f4ea6ec9d5a65ab55 /net | |
parent | d6cc2749d2f90acc2d92a526c1d2cbebbc101a19 (diff) | |
download | chromium_src-3c810bb76cc6c27a3a46ca94c16ee81b78c30bf6.zip chromium_src-3c810bb76cc6c27a3a46ca94c16ee81b78c30bf6.tar.gz chromium_src-3c810bb76cc6c27a3a46ca94c16ee81b78c30bf6.tar.bz2 |
Coverity: Initialize member variables.
CID_COUNT=13
CID=102812,102838,102863,102867,102875,102891,102906,102924,102947,102964,
103070,103246,103259
BUG=none
TEST=none
R=groby
Review URL: https://chromiumcodereview.appspot.com/9307114
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_response_body_drainer.cc | 5 | ||||
-rw-r--r-- | net/proxy/proxy_script_decider.cc | 5 | ||||
-rw-r--r-- | net/spdy/buffered_spdy_framer.cc | 1 |
3 files changed, 7 insertions, 4 deletions
diff --git a/net/http/http_response_body_drainer.cc b/net/http/http_response_body_drainer.cc index 34d946f..903f501 100644 --- a/net/http/http_response_body_drainer.cc +++ b/net/http/http_response_body_drainer.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -14,7 +14,8 @@ namespace net { HttpResponseBodyDrainer::HttpResponseBodyDrainer(HttpStream* stream) - : stream_(stream), + : read_size_(0), + stream_(stream), next_state_(STATE_NONE), total_read_(0), session_(NULL) {} diff --git a/net/proxy/proxy_script_decider.cc b/net/proxy/proxy_script_decider.cc index a247fbb..5b5248d 100644 --- a/net/proxy/proxy_script_decider.cc +++ b/net/proxy/proxy_script_decider.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -49,7 +49,8 @@ ProxyScriptDecider::ProxyScriptDecider( ProxyScriptFetcher* proxy_script_fetcher, DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher, NetLog* net_log) - : proxy_script_fetcher_(proxy_script_fetcher), + : resolver_(NULL), + proxy_script_fetcher_(proxy_script_fetcher), dhcp_proxy_script_fetcher_(dhcp_proxy_script_fetcher), current_pac_source_index_(0u), pac_mandatory_(false), diff --git a/net/spdy/buffered_spdy_framer.cc b/net/spdy/buffered_spdy_framer.cc index 70db563..a7ac151 100644 --- a/net/spdy/buffered_spdy_framer.cc +++ b/net/spdy/buffered_spdy_framer.cc @@ -13,6 +13,7 @@ BufferedSpdyFramer::BufferedSpdyFramer() header_buffer_used_(0), header_buffer_valid_(false), header_stream_id_(SpdyFramer::kInvalidStream) { + memset(header_buffer_, 0, sizeof(header_buffer_)); } BufferedSpdyFramer::~BufferedSpdyFramer() { |