From 65a6489e5e52ff9b80e10e5fdea0cdd3e1097810 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 2 Nov 2015 15:11:16 -0500 Subject: fix whitespace; remove dead code --- src/or/periodic.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/or/periodic.c') diff --git a/src/or/periodic.c b/src/or/periodic.c index 6fa1d8a2b5..8ae8333640 100644 --- a/src/or/periodic.c +++ b/src/or/periodic.c @@ -104,15 +104,3 @@ periodic_event_destroy(periodic_event_item_t *event) event->last_action_time = 0; } -/** DOCDOC */ -void -periodic_event_assert_in_range(periodic_event_item_t *ev, - time_t start, time_t end) -{ - if (ev->last_action_time < start-1 || ev->last_action_time > end) { - log_err(LD_BUG, "[Refactor Bug] Missed an interval in a range," - "Got %lu, wanted %lu <= x <= %lu.", ev->last_action_time, - start, end); - tor_assert(0); - } -} -- cgit v1.2.3-54-g00ecf