From 21b9973d212a13f8be5f418af9e9c6c4b8f73627 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 7 Mar 2007 20:05:05 +0000 Subject: Make the loader less noisy under valgrind. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58286 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main') diff --git a/main/loader.c b/main/loader.c index 4516b3779..838bcd27b 100644 --- a/main/loader.c +++ b/main/loader.c @@ -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) { - char fn[256]; - void *lib; + char fn[256] = ""; + void *lib = NULL; struct ast_module *mod; char *resource = (char *) resource_in; unsigned int wants_global; -- cgit v1.2.3