From: Dragos Oancea Date: Tue, 28 Jan 2020 23:01:45 +0000 (+0000) Subject: [core] scan-build: Value stored to 'err' is never read X-Git-Tag: v1.10.3^2~237^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F270%2Fhead;p=thirdparty%2Ffreeswitch.git [core] scan-build: Value stored to 'err' is never read --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index 1e8a4bf679..85ab3991e8 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -1762,7 +1762,6 @@ static switch_status_t switch_loadable_module_load_file(char *path, char *filena } if ((module = switch_core_alloc(pool, sizeof(switch_loadable_module_t))) == 0) { - err = "Could not allocate memory\n"; abort(); }