mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-22 13:25:17 +00:00
Bring in the new loader code as described in mantis #4377
and updated to today's version. The core of the patch is only two files, loader.c and include/asterisk/module.h, with the other files touched only to adapt non-standard usages of the reference counts and localuser lists. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -740,12 +740,6 @@ int unload_module(void)
|
||||
ASTOBJ_CONTAINER_DESTROYALL(&smdi_ifaces, ast_smdi_interface_destroy);
|
||||
ASTOBJ_CONTAINER_DESTROY(&smdi_ifaces);
|
||||
|
||||
/*
|
||||
* localusers = NULL; is just to silence the compiler warning
|
||||
* about an unused variable. It will be removed soon, when the
|
||||
* LOCALUSER-related functions are rewritten.
|
||||
*/
|
||||
localusers = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user