summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/timer_mgr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcpsrv/timer_mgr.cc')
-rw-r--r--src/lib/dhcpsrv/timer_mgr.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/dhcpsrv/timer_mgr.cc b/src/lib/dhcpsrv/timer_mgr.cc
index aaf7c729cf..f2fe5269bb 100644
--- a/src/lib/dhcpsrv/timer_mgr.cc
+++ b/src/lib/dhcpsrv/timer_mgr.cc
@@ -209,8 +209,6 @@ TimerMgrImpl::unregisterTimer(const std::string& timer_name) {
// Cancel any pending asynchronous operation and stop the timer.
cancel(timer_name);
- const TimerInfoPtr& timer_info = timer_info_it->second;
-
// Remove the timer.
registered_timers_.erase(timer_info_it);
}