Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Reset loopback_client_num_packets_received before test. #75
premake5 scan-build reported the following warning:
In file included from test.cpp:28:
This looks like a copy/paste error that was added in 43e6c76 affecting the loopback test. While the test was passing, and still pass after this change, the test wasn't actually checking the receive count as intended (since it wasn't reset to 0 before the test).
After fix, scan-build shows:
scan-build: Removing directory '/tmp/scan-build-2018-11-14-161711-21680-1' because it contains no reports.