Skip to content

Commit

Permalink
Add useless variable initialization for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Tikhonov committed Mar 5, 2019
1 parent 8437e4a commit 03d03a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/liblsquic/lsquic_handshake.c
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,9 @@ static int parse_hs_data (lsquic_enc_session_t *enc_session, uint32_t tag,
{
const unsigned char *p, *end;
unsigned pub_idx, idx;
#ifdef WIN32
pub_idx = 0;
#endif

for (p = val; p < val + len; p += 4)
if (0 == memcmp(p, "C255", 4))
Expand Down

0 comments on commit 03d03a4

Please sign in to comment.