mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Fix compiling of res_musiconhold under dev mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)))
|
||||
|
Reference in New Issue
Block a user