diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-31 17:57:12 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-31 17:57:12 +0000 |
commit | bd5352e51f686f95ac55e69036bee97e87cf5bf2 (patch) | |
tree | d49a2c760c9f41aac663fb267bebb628f44c6138 /channels/chan_local.c | |
parent | b55d2bd3eaca8d5775ab0e8db5b85fa3f1066ce1 (diff) |
remove some more local declarations of null frames
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9004 f38db490-d61c-443f-a65b-d21fe96a405b
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) |