summaryrefslogtreecommitdiff
path: root/src/lib/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/timer.h')
-rw-r--r--src/lib/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/timer.h b/src/lib/timer.h
index 6435155c6..be3706607 100644
--- a/src/lib/timer.h
+++ b/src/lib/timer.h
@@ -99,7 +99,7 @@ private:
/** current state */
boost::optional<std::string> _state;
/** time that _state was entered */
- double _time;
+ double _time = 0;
/** total time and number of entries for each state */
std::map<std::string, Counts> _counts;
};