mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-22 14:34:09 -07:00
Suppress compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
+6
-2
@@ -11228,8 +11228,10 @@ static struct ast_cli_entry zap_ss7_cli[] = {
|
|||||||
|
|
||||||
static int unload_module(void)
|
static int unload_module(void)
|
||||||
{
|
{
|
||||||
|
#if defined(HAVE_PRI) || defined(HAVE_SS7)
|
||||||
int y;
|
int y;
|
||||||
#ifdef HAVE_PRI
|
#endif
|
||||||
|
#ifdef HAVE_PRI
|
||||||
for (y = 0; y < NUM_SPANS; y++)
|
for (y = 0; y < NUM_SPANS; y++)
|
||||||
ast_mutex_destroy(&pris[y].lock);
|
ast_mutex_destroy(&pris[y].lock);
|
||||||
#endif
|
#endif
|
||||||
@@ -12166,7 +12168,9 @@ static int setup_zap(int reload)
|
|||||||
static int load_module(void)
|
static int load_module(void)
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
int y,i;
|
#if defined(HAVE_PRI) || defined(HAVE_SS7)
|
||||||
|
int y, i;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_PRI
|
#ifdef HAVE_PRI
|
||||||
memset(pris, 0, sizeof(pris));
|
memset(pris, 0, sizeof(pris));
|
||||||
|
|||||||
Reference in New Issue
Block a user