diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-01-31 17:57:12 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-01-31 17:57:12 +0000 |
commit | a228af1dd9d67bebf3c87934a6e8bf192eb6a8b5 (patch) | |
tree | d49a2c760c9f41aac663fb267bebb628f44c6138 /channels/chan_local.c | |
parent | e01861fafd6f74f65f2cb4ac90b811a9bb0a52c7 (diff) |
remove some more local declarations of null frames
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index 98103d4cd..bc082a29a 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -224,9 +224,7 @@ static void check_bridge(struct local_pvt *p, int isoutbound) static struct ast_frame *local_read(struct ast_channel *ast) { - static struct ast_frame null = { AST_FRAME_NULL, }; - - return &null; + return &ast_null_frame; } static int local_write(struct ast_channel *ast, struct ast_frame *f) |