mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
loss_interval: Fix timeval initialisation
When compiling with EXTRA_CFLAGS=-W noticed that tstamp is not initialised correctly in dccp_li_calc_first_li. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
This commit is contained in:
parent
e961811fcd
commit
6bc7efe8ef
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ static u32 ccid3_hc_rx_calc_first_li(struct sock *sk)
|
|||
struct dccp_rx_hist_entry *entry, *next, *tail = NULL;
|
||||
u32 x_recv, p;
|
||||
suseconds_t rtt, delta;
|
||||
struct timeval tstamp = { 0, };
|
||||
struct timeval tstamp = { 0, 0 };
|
||||
int interval = 0;
|
||||
int win_count = 0;
|
||||
int step = 0;
|
||||
|
|
Loading…
Reference in a new issue