From: Brian West Date: Thu, 1 Jul 2010 23:14:44 +0000 (-0500) Subject: FSBUILD-287 X-Git-Tag: v1.2-rc1~563^2~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8009ec0b5c234db1f797088cbd31cb211a359483;p=thirdparty%2Ffreeswitch.git FSBUILD-287 --- 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;