Merge pull request #270 from dragos-oancea/switch_loadable_module_dead_a

[core] scan-build: Value stored to 'err' is never read
This commit is contained in:
Andrey Volk 2020-01-30 23:19:12 +04:00 committed by GitHub
commit a1f78a0b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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();
}