diff options
author | Steve Murphy <murf@digium.com> | 2007-07-19 22:00:59 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2007-07-19 22:00:59 +0000 |
commit | 7756ba661904d1147e42ce884d3ebb2f128233b5 (patch) | |
tree | d96bd7ae8ed9da44622a412135c0ff4544bd65d0 /apps | |
parent | 7111c8e3821f8d269f8e3c4bbd9d8429d1ec77a3 (diff) |
This repairs a 'warning: ISO C90 forbids mixed declarations and code' message that cripples my dev-mode enabled build
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 48b6b5190..14ed8d528 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3437,6 +3437,7 @@ static int queue_exec(struct ast_channel *chan, void *data) /* whether to exit Queue application after the timeout hits */ int go_on = 0; char *parse; + int makeannouncement = 0; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(queuename); AST_APP_ARG(options); @@ -3528,7 +3529,7 @@ check_turns: if (res) goto stop; - int makeannouncement = 0; + makeannouncement = 0; for (;;) { /* This is the wait loop for the head caller*/ |