]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'err' is never read - switch_loadable_module_build... 355/head
authorDragos Oancea <dragos@signalwire.com>
Thu, 13 Feb 2020 19:00:40 +0000 (19:00 +0000)
committerDragos Oancea <dragos@signalwire.com>
Thu, 13 Feb 2020 19:00:40 +0000 (19:00 +0000)
src/switch_loadable_module.c

index ca761c22df16deaf31b3870b38c8dd63ba0488fa..c99d18e9aa67888081afaacf46b7c4572fb2258c 100644 (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();
                }