From c9cb1f4e01142c4b0eb7bdf48468ff500c6bbda3 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 17 Aug 2022 11:35:57 +0200 Subject: [PATCH] wsd: fix uninitialized DocumentBroker::_savingTimeout Signed-off-by: Miklos Vajna Change-Id: Id004b635cfd8e77de85f932a3035870300ba1c47 --- wsd/DocumentBroker.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsd/DocumentBroker.hpp b/wsd/DocumentBroker.hpp index 9c84b428f..e65702d64 100644 --- a/wsd/DocumentBroker.hpp +++ b/wsd/DocumentBroker.hpp @@ -985,7 +985,7 @@ private: const std::chrono::milliseconds _autosaveInterval; /// The maximum time to wait for saving to finish. - std::chrono::seconds _savingTimeout; + std::chrono::seconds _savingTimeout{}; /// The last autosave check time. std::chrono::steady_clock::time_point _lastAutosaveCheckTime;