summaryrefslogtreecommitdiff
path: root/pbx/pbx_ael.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-08-22 02:24:46 +0000
committerJoshua Colp <jcolp@digium.com>2006-08-22 02:24:46 +0000
commit7734efb97b7853ac7a5da32dc101f07639e1f7f6 (patch)
treeda28ef5a24437b7f4d212d3aa3b66e1db78636f2 /pbx/pbx_ael.c
parentcbbbff720b1f6857a8a9cf59f143818eb1eeec41 (diff)
Make a warning about an unused function & variable go away on the stand alone AEL build.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_ael.c')
-rw-r--r--pbx/pbx_ael.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 0fd06414b..0110c5e37 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -59,7 +59,10 @@ static char expr_output[2096];
static char *config = "extensions.ael";
static char *registrar = "pbx_ael";
-static int errs, warns, notes;
+static int errs, warns;
+#ifndef STANDALONE_AEL
+static int notes;
+#endif
#ifndef AAL_ARGCHECK
/* for the time being, short circuit all the AAL related structures
@@ -2089,6 +2092,7 @@ void check_switch_expr(pval *item, struct argapp *apps)
#endif
}
+#ifndef STANDALONE_AEL
static void check_context_names(void)
{
pval *i,*j;
@@ -2107,6 +2111,7 @@ static void check_context_names(void)
}
}
}
+#endif
static void check_abstract_reference(pval *abstract_context)
{