From: Michael Jerris Date: Wed, 26 Mar 2014 15:25:23 +0000 (-0400) Subject: initialize var X-Git-Tag: v1.5.12~308 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=310f2ec3d6ab454b2576ddc6cf324422decee9ac;p=thirdparty%2Ffreeswitch.git initialize var --- diff --git a/src/mod/applications/mod_translate/mod_translate.c b/src/mod/applications/mod_translate/mod_translate.c index 78cf990ba8..026e3eed83 100644 --- a/src/mod/applications/mod_translate/mod_translate.c +++ b/src/mod/applications/mod_translate/mod_translate.c @@ -174,7 +174,7 @@ static void do_unload(void) { void *val = NULL; const void *key; switch_ssize_t keylen; - translate_rule_t *rl, *nrl; + translate_rule_t *rl = NULL, *nrl; switch_core_hash_this(hi, &key, &keylen, &val); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "deleting translate profile [%s]\n", (char *) key);