summaryrefslogtreecommitdiff
path: root/minheap-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-01 10:40:08 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-01 10:47:48 -0400
commite639a9e10fe4555c035830ce171db9259bebddaf (patch)
treeb6df43fbfe14bc4ec0527a21e1a4df1759fb0c87 /minheap-internal.h
parentd4095146aff755f23df579cf0a5a376480ef2b5d (diff)
downloadlibevent-e639a9e10fe4555c035830ce171db9259bebddaf.tar.gz
Remove an unreachable return statement in minheap-internal.h
Found by Brian Utterback; see http://bugs.ntp.org/show_bug.cgi?id=2446
Diffstat (limited to 'minheap-internal.h')
-rw-r--r--minheap-internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/minheap-internal.h b/minheap-internal.h
index 24f19633..b3b6f1fd 100644
--- a/minheap-internal.h
+++ b/minheap-internal.h
@@ -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);
return 0;
}
- return -1;
}
int min_heap_reserve_(min_heap_t* s, unsigned n)