uORB_test: initialize timings storage

- fixes Coverity CID 341740
This commit is contained in:
Daniel Agar
2020-01-05 21:01:33 -05:00
parent aabc89b2d0
commit 0f3bb94ff7
@@ -94,7 +94,7 @@ int uORBTest::UnitTest::pubsublatency_main()
int num_missed = 0;
// timings has to be on the heap to keep frame size below 2048 bytes
unsigned *timings = new unsigned[maxruns];
unsigned *timings = new unsigned[maxruns] {};
unsigned timing_min = 9999999, timing_max = 0;
for (unsigned i = 0; i < maxruns; i++) {