From 75ad4f391ccf01343f467f0fe20d162f2a11b8cc Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 12 Dec 2007 22:55:46 +0000 Subject: [PATCH] cleanup. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6713 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_sndfile/mod_sndfile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mod/formats/mod_sndfile/mod_sndfile.c b/src/mod/formats/mod_sndfile/mod_sndfile.c index 2b7538f045..74bdadaa85 100644 --- a/src/mod/formats/mod_sndfile/mod_sndfile.c +++ b/src/mod/formats/mod_sndfile/mod_sndfile.c @@ -327,9 +327,7 @@ static switch_status_t setup_formats(void) if (!skip) { char *p; struct format_map *map = switch_core_permanent_alloc(sizeof(*map)); - if (!map) { - abort(); - } + switch_assert(map); map->ext = switch_core_permanent_strdup(info.extension); map->uext = switch_core_permanent_strdup(info.extension);