summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2015-04-20 17:23:00 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2015-04-20 17:23:00 -0400
commit9e6162da57dfd97ceba6f68e40e6f79f40b6db29 (patch)
tree46b3247a2222f64939e472f2befc8455217b00ba
parent5972db04c554f73187185b333d1d71c81be96f72 (diff)
downloadlibnice-9e6162da57dfd97ceba6f68e40e6f79f40b6db29.tar.gz
stunagent: Initiliaze variable
This remove a gcc warning
-rw-r--r--stun/stunagent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/stunagent.c b/stun/stunagent.c
index 1c73136..2abcc29 100644
--- a/stun/stunagent.c
+++ b/stun/stunagent.c
@@ -117,7 +117,7 @@ StunValidationStatus stun_agent_validate (StunAgent *agent, StunMessage *msg,
uint16_t unknown;
int error_code;
int ignore_credentials = 0;
- uint8_t long_term_key[16];
+ uint8_t long_term_key[16] = { 0 };
bool long_term_key_valid = FALSE;
len = stun_message_validate_buffer_length (buffer, buffer_len,