Don't use uninitialized value in receive_packet()
This commit is contained in:
parent
df968ca47c
commit
32bf32e7d5
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ receive_packet(NTP_Packet *message, struct timeval *now, double now_err, NCR_Ins
|
|||
properly (e.g. for the first sample received in a peering
|
||||
connection). */
|
||||
theta = delta = epsilon = 0.0;
|
||||
|
||||
sample_time = *now;
|
||||
}
|
||||
|
||||
peer_distance = epsilon + 0.5 * fabs(delta);
|
||||
|
|
Loading…
Reference in a new issue