aboutsummaryrefslogtreecommitdiff
path: root/srtp
diff options
context:
space:
mode:
authorPascal Bühler <pabuhler@cisco.com>2017-06-07 12:47:16 +0200
committerGitHub <noreply@github.com>2017-06-07 12:47:16 +0200
commitf41432313080688a6fe99bc558f7c2ecc850bf67 (patch)
tree0871716d8cca7efc7af13d33de5342119eee39a3 /srtp
parentc42b53545e443c5e788f9a7cb8d979dfe7ae5d00 (diff)
downloadlibsrtp2-f41432313080688a6fe99bc558f7c2ecc850bf67.tar.gz
Silence "potentially uninitialized" compiler warning.
The warning is incorrect in this case, but just to make it happy.
Diffstat (limited to 'srtp')
-rw-r--r--srtp/srtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/srtp/srtp.c b/srtp/srtp.c
index 3f8c865..ede804f 100644
--- a/srtp/srtp.c
+++ b/srtp/srtp.c
@@ -2346,8 +2346,8 @@ srtp_unprotect_mki(srtp_ctx_t *ctx, void *srtp_hdr, int *pkt_octet_len,
unsigned int mki_size = 0;
srtp_session_keys_t *session_keys = NULL;
int advance_packet_index = 0;
- uint32_t roc_to_set;
- uint16_t seq_to_set;
+ uint32_t roc_to_set = 0;
+ uint16_t seq_to_set = 0;
debug_print(mod_srtp, "function srtp_unprotect", NULL);