aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-23 13:07:28 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-23 13:07:28 +0000
commitf31feea914071717d8a48f24ff2547fe0a316606 (patch)
tree0d587994b0a54dece5b9dda4f220668c56097612 /res/res_musiconhold.c
parent42463641d5fd51f78314862f3dc8b7d68b3f3304 (diff)
Fix compiling of res_musiconhold under dev mode.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65590 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_musiconhold.c')
-rw-r--r--res/res_musiconhold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 6b27a084b..ec049482c 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -342,7 +342,7 @@ static struct mohclass *get_mohbydigit(char digit)
static void moh_handle_digit(struct ast_channel *chan, char digit)
{
struct mohclass *moh;
- const char *classname;
+ const char *classname = NULL;
AST_RWLIST_RDLOCK(&mohclasses);
if ((moh = get_mohbydigit(digit)))