diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-04-25 17:06:37 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-04-25 17:06:37 +0000 |
commit | d85048d6926fc165c42544204496d6f6d04bb534 (patch) | |
tree | 907bad45c8bf644473e2c8fec05ed70e07c56b79 /pbx/pbx_ael.c | |
parent | e7dfb41ccec465c1978b0da9968bbc8159401ac8 (diff) |
fix variable declaration in the middle of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_ael.c')
-rw-r--r-- | pbx/pbx_ael.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 8ecacfb13..d2fdd7297 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -1080,8 +1080,9 @@ static void check_goto(pval *item) struct pval *that_other_context = find_context(incl_context); if (that_other_context) { struct pval *context_save = current_context; + struct pval *x3; current_context = that_other_context; - struct pval *x3 = find_label_in_current_context((char *)item->u1.list->next->u1.str, (char *)item->u1.list->next->next->u1.str); + x3 = find_label_in_current_context((char *)item->u1.list->next->u1.str, (char *)item->u1.list->next->next->u1.str); current_context = context_save; if (x3) { found = x3; @@ -1549,8 +1550,9 @@ struct pval *find_label_in_current_context(char *exten, char *label) struct pval *that_context = find_context(incl_context); if (that_context) { struct pval *context_save = current_context; + struct pval *x3; current_context = that_context; - struct pval *x3 = find_label_in_current_context(exten, label); + x3 = find_label_in_current_context(exten, label); current_context = context_save; if (x3) { return x3; |