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:
commit
a1f78a0b38
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue