From bb536550a7ead7131fa451215f2565a5c184896e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rinc=20Serf=C5=91z=C5=91?= Date: Tue, 28 May 2024 20:23:39 +0200 Subject: [PATCH] fix(build): Removed unused m_update_check_finished --- src/UpdateChecker.cpp | 1 - src/UpdateChecker.hpp | 1 - 2 files changed, 2 deletions(-) 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; };