Fix compile warning in chan_zap if libpri not installed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-04-17 23:48:19 +00:00
parent 34e415222e
commit e7f819bed1

View File

@@ -7334,9 +7334,9 @@ static int action_zapdialoffhook(struct mansession *s, struct message *m)
static int __unload_module(void)
{
int x = 0;
int i;
struct zt_pvt *p, *pl;
#ifdef ZAPATA_PRI
int i;
for(i=0;i<NUM_SPANS;i++) {
pthread_cancel(pris[i].master);
}