Merge pull request #355 from dragos-oancea/switch_loadable_module-val-never-read-

[core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build_dynamic()
This commit is contained in:
Andrey Volk 2020-02-14 01:39:15 +04:00 committed by GitHub
commit 5378eae101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {
err = "Could not allocate memory\n";
abort();
}