This repairs a 'warning: ISO C90 forbids mixed declarations and code' message that cripples my dev-mode enabled build
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75982 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
cd28da33fd
commit
5bc0b2d273
1 changed files with 2 additions and 1 deletions
|
@ -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*/
|
||||
|
|
Reference in a new issue