From: Dragos Oancea Date: Thu, 13 Feb 2020 19:00:40 +0000 (+0000) Subject: [core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build... X-Git-Tag: v1.10.3^2~175^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F355%2Fhead;p=thirdparty%2Ffreeswitch.git [core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic() --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index ca761c22df..c99d18e9aa 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -2058,7 +2058,6 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_build_dynamic(char *filen } if ((module = switch_core_alloc(pool, sizeof(switch_loadable_module_t))) == 0) { - err = "Could not allocate memory\n"; abort(); }