summaryrefslogtreecommitdiff
path: root/evmap.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-25 16:52:50 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-25 16:52:50 -0400
commit9155b0953467320b7b0c7dba7af98447c1d7d5e8 (patch)
tree2560becdf87117754435431da3ca339f7e554f03 /evmap.c
parent173509d9b679fe536149682e3065485a194d9edb (diff)
parent06a714ffe4a58866a33ff3e139e2cb298835b9c5 (diff)
downloadlibevent-9155b0953467320b7b0c7dba7af98447c1d7d5e8.tar.gz
Merge remote-tracking branch 'origin/patches-2.0'
Diffstat (limited to 'evmap.c')
-rw-r--r--evmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/evmap.c b/evmap.c
index a8509a4b..3b7bc1c5 100644
--- a/evmap.c
+++ b/evmap.c
@@ -165,7 +165,6 @@ void evmap_io_clear(struct event_io_map *ctx)
#define GET_SIGNAL_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \
do { \
if ((map)->entries[slot] == NULL) { \
- EVUTIL_ASSERT(ctor != NULL); \
(map)->entries[slot] = \
mm_calloc(1,sizeof(struct type)+fdinfo_len); \
EVUTIL_ASSERT((map)->entries[slot] != NULL); \