From 8009ec0b5c234db1f797088cbd31cb211a359483 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 1 Jul 2010 18:14:44 -0500 Subject: [PATCH] FSBUILD-287 --- src/switch_event.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;