Index: jingle/glue/utils.cc |
diff --git a/jingle/glue/utils.cc b/jingle/glue/utils.cc |
index bc548ea8112b267a8156e893ef9f23e2ebdc2853..5350631866c7acf787226c32f36e93b05bbc4457 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) || |