From d9550b61692cdb997d353830f9e1f8c833ca5ca6 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Thu, 13 Feb 2020 19:00:40 +0000 Subject: [PATCH] [core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic() --- src/switch_loadable_module.c | 1 - 1 file changed, 1 deletion(-) 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(); }