diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-10 16:00:11 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-10 16:00:11 +0000 |
commit | 1ce70d146fb7ce3cb0a3f4b2c668ba44e704dc3c (patch) | |
tree | 8a12d64290a32f5a0ebe2f2258cfa95bc32beb3b | |
parent | ace2533a9984ccb9e38d28ea8a369c84a58168ec (diff) |
fix an uninitialized variable
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74323 f38db490-d61c-443f-a65b-d21fe96a405b
-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 cd1ad2ea0..763d9e022 100644 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -919,7 +919,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 |