diff --git a/src/UpdateChecker.cpp b/src/UpdateChecker.cpp index 2df7f35..81cd745 100644 --- a/src/UpdateChecker.cpp +++ b/src/UpdateChecker.cpp @@ -19,7 +19,6 @@ UpdateChecker::UpdateChecker() void UpdateChecker::trigger_check() { - m_update_check_finished = false; m_latest_version_written = false; std::thread([this] { using namespace std::chrono_literals; diff --git a/src/UpdateChecker.hpp b/src/UpdateChecker.hpp index 3555ca4..33d95a5 100644 --- a/src/UpdateChecker.hpp +++ b/src/UpdateChecker.hpp @@ -34,7 +34,6 @@ struct UpdateChecker CheckResult get_latest_version() const; private: - [[maybe_unused]] bool m_update_check_finished = false; CheckResult m_latest_version_result = {}; std::atomic_bool m_latest_version_written; };