[svn-commits] file: trunk r65590 - /trunk/res/res_musiconhold.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed May 23 06:07:28 MST 2007


Author: file
Date: Wed May 23 08:07:28 2007
New Revision: 65590

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65590
Log:
Fix compiling of res_musiconhold under dev mode.

Modified:
    trunk/res/res_musiconhold.c

Modified: trunk/res/res_musiconhold.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_musiconhold.c?view=diff&rev=65590&r1=65589&r2=65590
==============================================================================
--- trunk/res/res_musiconhold.c (original)
+++ trunk/res/res_musiconhold.c Wed May 23 08:07:28 2007
@@ -342,7 +342,7 @@
 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)))



More information about the svn-commits mailing list