summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 22:49:54 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 22:49:54 +0000
commit632197304ce0bb8fa5cd8931fe90c3c19cdeeab8 (patch)
tree632664c02fa3f4f5ddc07e9cd0890e6aae2fa26b /net
parentb2cb730f4b30aceab3039003968ce5c8450b58a1 (diff)
downloadchromium_src-632197304ce0bb8fa5cd8931fe90c3c19cdeeab8.zip
chromium_src-632197304ce0bb8fa5cd8931fe90c3c19cdeeab8.tar.gz
chromium_src-632197304ce0bb8fa5cd8931fe90c3c19cdeeab8.tar.bz2
Coverity: Initialize member variables.
CID=100358,100392,100393,101544,101545,101778,102025,102052,102053,102320, 102347,102394 BUG=none TEST=none R=gbillock Review URL: http://codereview.chromium.org/9006026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/file_stream_posix.cc1
-rw-r--r--net/http/http_auth_handler_negotiate.cc1
-rw-r--r--net/http/http_pipelined_connection_impl.cc5
3 files changed, 6 insertions, 1 deletions
diff --git a/net/base/file_stream_posix.cc b/net/base/file_stream_posix.cc
index fd2af5b..50b1593 100644
--- a/net/base/file_stream_posix.cc
+++ b/net/base/file_stream_posix.cc
@@ -184,6 +184,7 @@ class FileStream::AsyncContext {
FileStream::AsyncContext::AsyncContext()
: message_loop_(MessageLoopForIO::current()),
background_io_completed_(true, false),
+ message_loop_task_(NULL),
is_closing_(false),
record_uma_(false) {}
diff --git a/net/http/http_auth_handler_negotiate.cc b/net/http/http_auth_handler_negotiate.cc
index cfab741..f2e8044 100644
--- a/net/http/http_auth_handler_negotiate.cc
+++ b/net/http/http_auth_handler_negotiate.cc
@@ -22,6 +22,7 @@ namespace net {
HttpAuthHandlerNegotiate::Factory::Factory()
: disable_cname_lookup_(false),
use_port_(false),
+ resolver_(NULL),
#if defined(OS_WIN)
max_token_length_(0),
first_creation_(true),
diff --git a/net/http/http_pipelined_connection_impl.cc b/net/http/http_pipelined_connection_impl.cc
index ab7ee40..faea0760 100644
--- a/net/http/http_pipelined_connection_impl.cc
+++ b/net/http/http_pipelined_connection_impl.cc
@@ -802,7 +802,10 @@ SSLClientSocket::NextProto HttpPipelinedConnectionImpl::protocol_negotiated()
return protocol_negotiated_;
}
-HttpPipelinedConnectionImpl::PendingSendRequest::PendingSendRequest() {
+HttpPipelinedConnectionImpl::PendingSendRequest::PendingSendRequest()
+ : pipeline_id(0),
+ request_body(NULL),
+ response(NULL) {
}
HttpPipelinedConnectionImpl::PendingSendRequest::~PendingSendRequest() {