diff --git a/src/switch_event.c b/src/switch_event.c index ed2b38466a..c2cbc7cb2e 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -581,7 +581,12 @@ SWITCH_DECLARE(switch_status_t) switch_event_init(switch_memory_pool_t *pool) { switch_threadattr_t *thd_attr;; - switch_assert(switch_arraylen(EVENT_NAMES) == SWITCH_EVENT_ALL + 1); + /* + This statement doesn't do anything commenting it out for now. + + switch_assert(switch_arraylen(EVENT_NAMES) == SWITCH_EVENT_ALL + 1); + */ + switch_assert(pool != NULL); THRUNTIME_POOL = RUNTIME_POOL = pool;