summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-24 17:58:03 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-24 17:58:03 +0000
commit58f6e6dd5ce713b8bd75128de76d4878846ba5ee (patch)
tree8672bc1febe2394def61ba9e99576d08fa4b917d
parent56f86276647eec079d270ffc83438f98d6aba441 (diff)
downloadchromium_src-58f6e6dd5ce713b8bd75128de76d4878846ba5ee.zip
chromium_src-58f6e6dd5ce713b8bd75128de76d4878846ba5ee.tar.gz
chromium_src-58f6e6dd5ce713b8bd75128de76d4878846ba5ee.tar.bz2
Coverity: Initialize remaining_payload_length_ in the constructor.
CID=2286 BUG=none TEST=none Review URL: http://codereview.chromium.org/220020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27088 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/debugger/devtools_remote_listen_socket.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/debugger/devtools_remote_listen_socket.cc b/chrome/browser/debugger/devtools_remote_listen_socket.cc
index 54d71fd..61db3d5 100644
--- a/chrome/browser/debugger/devtools_remote_listen_socket.cc
+++ b/chrome/browser/debugger/devtools_remote_listen_socket.cc
@@ -47,6 +47,7 @@ DevToolsRemoteListenSocket::DevToolsRemoteListenSocket(
DevToolsRemoteListener* message_listener)
: ListenSocket(s, del),
state_(HANDSHAKE),
+ remaining_payload_length_(0),
message_listener_(message_listener),
cr_received_(false) {}