Make the loader less noisy under valgrind.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 18 years ago
parent f86aee41f7
commit 21b9973d21

@ -336,8 +336,8 @@ static void unload_dynamic_module(struct ast_module *mod)
static struct ast_module *load_dynamic_module(const char *resource_in, unsigned int global_symbols_only) static struct ast_module *load_dynamic_module(const char *resource_in, unsigned int global_symbols_only)
{ {
char fn[256]; char fn[256] = "";
void *lib; void *lib = NULL;
struct ast_module *mod; struct ast_module *mod;
char *resource = (char *) resource_in; char *resource = (char *) resource_in;
unsigned int wants_global; unsigned int wants_global;

Loading…
Cancel
Save