diff options
Diffstat (limited to 'jingle/glue/utils.cc')
-rw-r--r-- | jingle/glue/utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc index bc548ea..5350631 100644 --- a/jingle/glue/utils.cc +++ b/jingle/glue/utils.cc @@ -62,13 +62,13 @@ bool DeserializeP2PCandidate(const std::string& candidate_str, static_cast<base::DictionaryValue*>(value.get()); std::string ip; - int port; + int port = 0; std::string type; std::string protocol; std::string username; std::string password; - double preference; - int generation; + double preference = 0; + int generation = 0; if (!dic_value->GetString("ip", &ip) || !dic_value->GetInteger("port", &port) || |