Permalink
Browse files

Merge pull request #75 from drichardson/fix-scan-build-warning

Reset loopback_client_num_packets_received before test.
  • Loading branch information...
gafferongames committed Nov 15, 2018
2 parents fc30ab0 + d94f523 commit 5f166b6c6ed014d4a8a0e00d7a2f1be6461f8941
Showing with 1 addition and 1 deletion.
  1. +1 −1 netcode.c
@@ -8671,7 +8671,7 @@ void test_loopback()
// verify that we can exchange packets for both regular and loopback client post reconnect
loopback_server_num_packets_received = 0;
loopback_server_num_packets_received = 0;
loopback_client_num_packets_received = 0;
regular_server_num_packets_received = 0;
regular_client_num_packets_received = 0;
context.num_loopback_packets_sent_to_client = 0;

0 comments on commit 5f166b6

Please sign in to comment.