diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-21 22:44:23 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-21 22:44:23 +0000 |
commit | 0ef853826f14edca8fbadfd921228e91cd09a5eb (patch) | |
tree | f0085076a3eba891ac54f58cb3aca783be358b3e /channels/chan_zap.c | |
parent | f724eb3450f9065f5d248fbdad0f74df9463579e (diff) |
Suppress compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43460 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r-- | channels/chan_zap.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 5ed834441..814769b7a 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -11228,8 +11228,10 @@ static struct ast_cli_entry zap_ss7_cli[] = { 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 setup_zap(int reload) 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)); |