From: Carl Hetherington Date: Wed, 30 Jun 2021 23:22:29 +0000 (+0200) Subject: Remove unused variable. X-Git-Tag: v2.15.156~21 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=eff6f92fe5d63ba067ef4eac21c2a82e5fb58197;p=dcpomatic.git Remove unused variable. --- 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;