diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-07-10 16:01:27 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-07-10 16:01:27 +0000 |
commit | e9290d5178a30ac4947ccd28ea8cbd8c74ecb5cb (patch) | |
tree | 2e46aba0243987691f939987edfdc75b4840c432 | |
parent | 7c6424be53ffba325fa13be436a86ec2c8eb94ef (diff) |
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
-rw-r--r-- | res/res_musiconhold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index c0ef8f4ca..a67f3eb51 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 |