From eff6f92fe5d63ba067ef4eac21c2a82e5fb58197 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 1 Jul 2021 01:22:29 +0200 Subject: Remove unused variable. --- src/lib/update_checker.cc | 1 - src/lib/update_checker.h | 1 - 2 files changed, 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/update_checker.cc b/src/lib/update_checker.cc index 29d41cd92..704b7b497 100644 --- a/src/lib/update_checker.cc +++ b/src/lib/update_checker.cc @@ -193,7 +193,6 @@ UpdateChecker::set_state (State s) { boost::mutex::scoped_lock lm (_data_mutex); _state = s; - _emits++; } emit (boost::bind(boost::ref(StateChanged))); diff --git a/src/lib/update_checker.h b/src/lib/update_checker.h index a0845b194..aa5f620e6 100644 --- a/src/lib/update_checker.h +++ b/src/lib/update_checker.h @@ -98,7 +98,6 @@ private: State _state; boost::optional _stable; boost::optional _test; - int _emits = 0; boost::thread _thread; boost::mutex _process_mutex; -- cgit v1.2.3