eliminate warning when !ZAPATA_PRI
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 29 Aug 2005 21:18:20 +0000 (21:18 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 29 Aug 2005 21:18:20 +0000 (21:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6438 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 4f97633..52ce909 100755 (executable)
@@ -299,7 +299,9 @@ AST_MUTEX_DEFINE_STATIC(iflock);
 
 static int ifcount = 0;
 
+#ifdef ZAPATA_PRI
 AST_MUTEX_DEFINE_STATIC(pridebugfdlock);
+#endif
 
 /* Whether we answer on a Polarity Switch event */
 static int answeronpolarityswitch = 0;