diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 21:49:24 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-30 21:49:24 +0000 |
commit | 2ed326aa7d389573ccafb0088c57162d5e35651f (patch) | |
tree | 9e7acd7cd206b070f5634c823702cab935e6b7ce /apps/app_echo.c | |
parent | 454a3cb53d16f75124efe13d14a54f6974d6b436 (diff) |
localize a variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16562 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_echo.c')
-rw-r--r-- | apps/app_echo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_echo.c b/apps/app_echo.c index 61a126108..2e70415a5 100644 --- a/apps/app_echo.c +++ b/apps/app_echo.c @@ -59,7 +59,6 @@ static int echo_exec(struct ast_channel *chan, void *data) int res = -1; int format; struct localuser *u; - struct ast_frame *f; LOCAL_USER_ADD(u); @@ -68,7 +67,7 @@ static int echo_exec(struct ast_channel *chan, void *data) ast_set_read_format(chan, format); while (ast_waitfor(chan, -1) > -1) { - f = ast_read(chan); + struct ast_frame *f = ast_read(chan); if (!f) break; f->delivery.tv_sec = 0; |