diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-10 17:13:17 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-10 17:13:17 +0000 |
commit | e1d39ac096d7c2e6e9288ff2f3e1e951f616aade (patch) | |
tree | d81093d989a92b66b32dc2f83ffd1450466252f5 /main | |
parent | d16c8c0af763b9c5df4dc1b37589966f5b21f737 (diff) |
Resolve a compiler warning.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@107102 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index d148cd97d..a12c4ef44 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1554,7 +1554,7 @@ static int generator_force(const void *data) /* Called if generator doesn't have data */ void *tmp; int res; - int (*generate)(struct ast_channel *chan, void *tmp, int datalen, int samples); + int (*generate)(struct ast_channel *chan, void *tmp, int datalen, int samples) = NULL; struct ast_channel *chan = (struct ast_channel *)data; ast_channel_lock(chan); |