diff options
Diffstat (limited to 'src/or/periodic.c')
-rw-r--r-- | src/or/periodic.c | 12 |
1 files changed, 0 insertions, 12 deletions
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); - } -} |