aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-29 21:18:20 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-29 21:18:20 +0000
commit567cc67c448220646f22cd6a711b267795d570e2 (patch)
treec4c66bbeb135a3acb530eef88a0d258a8e140e23 /channels
parentc8be741b21120fdfd530c5ae974d1f62577af9eb (diff)
eliminate warning when !ZAPATA_PRI
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6438 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 4f976337d..52ce9090b 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -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;