summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/jingle_messages.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 00:41:01 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 00:41:01 +0000
commitaff936c556020d5e77ff9883ae87a57694cb5163 (patch)
treecc8514143dd7b22a5ba9bf1ad17fa98ff0401ef8 /remoting/protocol/jingle_messages.cc
parent11a9fd7768672a93cb43e59bd1a41c31edbf4271 (diff)
downloadchromium_src-aff936c556020d5e77ff9883ae87a57694cb5163.zip
chromium_src-aff936c556020d5e77ff9883ae87a57694cb5163.tar.gz
chromium_src-aff936c556020d5e77ff9883ae87a57694cb5163.tar.bz2
Fix uninitialized value in JingleMessage that causes DCHECK failure.
BUG=None TEST=client doesn't DCHECK. Review URL: http://codereview.chromium.org/8081011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/jingle_messages.cc')
-rw-r--r--remoting/protocol/jingle_messages.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/protocol/jingle_messages.cc b/remoting/protocol/jingle_messages.cc
index de8e137..4bf3252 100644
--- a/remoting/protocol/jingle_messages.cc
+++ b/remoting/protocol/jingle_messages.cc
@@ -147,7 +147,8 @@ JingleMessage::JingleMessage(
const std::string& sid_value)
: to(to_value),
action(action_value),
- sid(sid_value) {
+ sid(sid_value),
+ reason(UNKNOWN_REASON) {
}
JingleMessage::~JingleMessage() {