diff options
| -rw-r--r-- | src/lib/update_checker.cc | 1 | ||||
| -rw-r--r-- | src/lib/update_checker.h | 1 |
2 files changed, 0 insertions, 2 deletions
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<std::string> _stable; boost::optional<std::string> _test; - int _emits = 0; boost::thread _thread; boost::mutex _process_mutex; |
