[asterisk-commits] russell: branch 1.4 r74323 - /branches/1.4/res/res_musiconhold.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 10 11:00:12 CDT 2007
Author: russell
Date: Tue Jul 10 11:00:11 2007
New Revision: 74323
URL: http://svn.digium.com/view/asterisk?view=rev&rev=74323
Log:
fix an uninitialized variable
Modified:
branches/1.4/res/res_musiconhold.c
Modified: branches/1.4/res/res_musiconhold.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_musiconhold.c?view=diff&rev=74323&r1=74322&r2=74323
==============================================================================
--- branches/1.4/res/res_musiconhold.c (original)
+++ branches/1.4/res/res_musiconhold.c Tue Jul 10 11:00:11 2007
@@ -919,7 +919,7 @@
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
More information about the asterisk-commits
mailing list