Remove an unreachable return statement in minheap-internal.h

Found by Brian Utterback; see http://bugs.ntp.org/show_bug.cgi?id=2446
This commit is contained in:
Nick Mathewson 2013-08-01 10:40:08 -04:00
parent d4095146af
commit e639a9e10f

View File

@ -128,7 +128,6 @@ int min_heap_adjust_(min_heap_t *s, struct event *e)
min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e); min_heap_shift_down_(s, e->ev_timeout_pos.min_heap_idx, e);
return 0; return 0;
} }
return -1;
} }
int min_heap_reserve_(min_heap_t* s, unsigned n) int min_heap_reserve_(min_heap_t* s, unsigned n)