Fix MSVC compilation by adding useless initialization

This commit is contained in:
Dmitri Tikhonov 2020-07-29 19:45:28 -04:00
parent ef80a65ff8
commit 41a496506f

View file

@ -3205,6 +3205,10 @@ send_ctl_resize_q (struct lsquic_send_ctl *ctl, struct lsquic_packets_tailq *q,
unsigned count_src = 0, count_dst = 0; unsigned count_src = 0, count_dst = 0;
int idx; int idx;
#ifdef MSVC
idx = 0;
#endif
/* Initialize input, removing packets from source queue, filtering by path. /* Initialize input, removing packets from source queue, filtering by path.
* Note: this may reorder packets from different paths. * Note: this may reorder packets from different paths.
*/ */