From 5c7c53fd220aeb693066eb2f96fe293640178f5d Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Tue, 28 Jan 2020 23:01:45 +0000 Subject: [PATCH] [core] scan-build: Value stored to 'err' is never read --- 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 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(); }