Skip to content

Commit

Permalink
CycleTimer: Add missing initialization (CID 1396168)
Browse files Browse the repository at this point in the history
This fixes a warning from Coverity Scan.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Oct 16, 2018
1 parent 32e1e4b commit d8fdbdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unittest/cycletimer.h
Expand Up @@ -25,6 +25,7 @@ class CycleTimer {
void Reset() {
running_ = false;
sum_ = 0;
start_ = 0;
}

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

0 comments on commit d8fdbdb

Please sign in to comment.