Skip to content

Commit d8fdbdb

Browse files
committed
CycleTimer: Add missing initialization (CID 1396168)
This fixes a warning from Coverity Scan. Signed-off-by: Stefan Weil <[email protected]>
1 parent 32e1e4b commit d8fdbdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

unittest/cycletimer.h

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class CycleTimer {
2525
void Reset() {
2626
running_ = false;
2727
sum_ = 0;
28+
start_ = 0;
2829
}
2930

3031
// When Start() is called multiple times, only the most recent is used.

0 commit comments

Comments
 (0)