From e9290d5178a30ac4947ccd28ea8cbd8c74ecb5cb Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Tue, 10 Jul 2007 16:01:27 +0000 Subject: [PATCH] Merged revisions 74323 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r74323 | russell | 2007-07-10 11:00:11 -0500 (Tue, 10 Jul 2007) | 1 line fix an uninitialized variable ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74324 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_musiconhold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index c0ef8f4cae..a67f3eb519 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -950,7 +950,7 @@ static void local_ast_moh_cleanup(struct ast_channel *chan) static int local_ast_moh_start(struct ast_channel *chan, const char *mclass, const char *interpclass) { - struct mohclass *mohclass; + struct mohclass *mohclass = NULL; /* The following is the order of preference for which class to use: * 1) The channels explicitly set musicclass, which should *only* be -- GitLab