]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'err' is never read 270/head
authorDragos Oancea <dragos@signalwire.com>
Tue, 28 Jan 2020 23:01:45 +0000 (23:01 +0000)
committerDragos Oancea <dragos@signalwire.com>
Tue, 28 Jan 2020 23:01:45 +0000 (23:01 +0000)
src/switch_loadable_module.c

index 1e8a4bf679360f050fc6c76be39250fa4a13dcfd..85ab3991e81c65fc902b3f180fc3cc2b122e0fe0 100644 (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();
                }