Skip to content

Commit

Permalink
Silence "potentially uninitialized" compiler warning.
Browse files Browse the repository at this point in the history
The warning is incorrect in this case, but just to make it happy.
  • Loading branch information
pabuhler committed Jun 7, 2017
1 parent 9d9d6de commit 28209e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srtp/srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 28209e2

Please sign in to comment.