mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user