[svn-commits] qwell: trunk r43460 - /trunk/channels/chan_zap.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Sep 21 15:44:23 MST 2006
Author: qwell
Date: Thu Sep 21 17:44:23 2006
New Revision: 43460
URL: http://svn.digium.com/view/asterisk?rev=43460&view=rev
Log:
Suppress compiler warnings
Modified:
trunk/channels/chan_zap.c
Modified: trunk/channels/chan_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_zap.c?rev=43460&r1=43459&r2=43460&view=diff
==============================================================================
--- trunk/channels/chan_zap.c (original)
+++ trunk/channels/chan_zap.c Thu Sep 21 17:44:23 2006
@@ -11228,8 +11228,10 @@
static int unload_module(void)
{
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
int y;
-#ifdef HAVE_PRI
+#endif
+#ifdef HAVE_PRI
for (y = 0; y < NUM_SPANS; y++)
ast_mutex_destroy(&pris[y].lock);
#endif
@@ -12166,7 +12168,9 @@
static int load_module(void)
{
int res;
- int y,i;
+#if defined(HAVE_PRI) || defined(HAVE_SS7)
+ int y, i;
+#endif
#ifdef HAVE_PRI
memset(pris, 0, sizeof(pris));
More information about the svn-commits
mailing list