summaryrefslogtreecommitdiff
path: root/src/or/periodic.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-02 15:11:16 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-13 16:24:45 -0500
commit65a6489e5e52ff9b80e10e5fdea0cdd3e1097810 (patch)
tree15112292f3491a79108c17047e522bfe1962d4b5 /src/or/periodic.c
parent2bf8fb5ee3a62cb6c2f16d2f37f54213e092d4cc (diff)
downloadtor-65a6489e5e52ff9b80e10e5fdea0cdd3e1097810.tar.gz
tor-65a6489e5e52ff9b80e10e5fdea0cdd3e1097810.zip
fix whitespace; remove dead code
Diffstat (limited to 'src/or/periodic.c')
-rw-r--r--src/or/periodic.c12
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);
- }
-}