[asterisk-commits] tilghman: trunk r138412 - /trunk/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Aug 16 08:07:09 CDT 2008


Author: tilghman
Date: Sat Aug 16 08:07:08 2008
New Revision: 138412

URL: http://svn.digium.com/view/asterisk?view=rev&rev=138412
Log:
Fix compilation warnings (found with dev-mode)

Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=138412&r1=138411&r2=138412
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Sat Aug 16 08:07:08 2008
@@ -12000,8 +12000,10 @@
 static int setup_dahdi(int reload);
 static int dahdi_restart(void)
 {
-
-	int i, j, cancel_code;
+#if defined(HAVE_PRI)
+	int i, j;
+#endif
+	int cancel_code;
 	struct dahdi_pvt *p;
 
 	ast_mutex_lock(&restart_lock);




More information about the asterisk-commits mailing list