[asterisk-commits] file: trunk r40819 - /trunk/pbx/pbx_ael.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Aug 21 19:24:46 MST 2006


Author: file
Date: Mon Aug 21 21:24:46 2006
New Revision: 40819

URL: http://svn.digium.com/view/asterisk?rev=40819&view=rev
Log:
Make a warning about an unused function & variable go away on the stand alone AEL build.

Modified:
    trunk/pbx/pbx_ael.c

Modified: trunk/pbx/pbx_ael.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_ael.c?rev=40819&r1=40818&r2=40819&view=diff
==============================================================================
--- trunk/pbx/pbx_ael.c (original)
+++ trunk/pbx/pbx_ael.c Mon Aug 21 21:24:46 2006
@@ -59,7 +59,10 @@
 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 @@
 #endif
 }
 
+#ifndef STANDALONE_AEL
 static void check_context_names(void)
 {
 	pval *i,*j;
@@ -2107,6 +2111,7 @@
 		}
 	}
 }
+#endif
 
 static void check_abstract_reference(pval *abstract_context)
 {



More information about the asterisk-commits mailing list