diff --git a/src/ripple/app/misc/StateAccounting.h b/src/ripple/app/misc/StateAccounting.h index d2eb26a8b..3cbc5cc73 100644 --- a/src/ripple/app/misc/StateAccounting.h +++ b/src/ripple/app/misc/StateAccounting.h @@ -58,13 +58,13 @@ public: }; private: - OperatingMode mode_; + OperatingMode mode_ = OperatingMode::DISCONNECTED; std::array counters_; mutable std::mutex mutex_; std::chrono::steady_clock::time_point start_ = std::chrono::steady_clock::now(); std::chrono::steady_clock::time_point const processStart_ = start_; - std::uint64_t initialSyncUs_; + std::uint64_t initialSyncUs_{0}; public: explicit StateAccounting()