[core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic()

This commit is contained in:
Dragos Oancea 2020-02-13 19:00:40 +00:00
parent c714401935
commit d9550b6169

View File

@ -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) { if ((module = switch_core_alloc(pool, sizeof(switch_loadable_module_t))) == 0) {
err = "Could not allocate memory\n";
abort(); abort();
} }