diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-20 16:50:18 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-10-20 16:50:18 +0000 |
commit | 6ef43c2854457136d87aec705fd1a9b78d171e93 (patch) | |
tree | 9e6ed73c03aaf08cccea541b641abf904765edc7 /channels/chan_zap.c | |
parent | 14644c46a5467bc99651322500c74dffeddebd34 (diff) |
silence compiler warnings when ZT_TONEDETECT is not defined (issue #5470)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6835 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-x | channels/chan_zap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index eac9c21c0..223eaa851 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -2917,7 +2917,9 @@ static void zt_link(struct zt_pvt *slave, struct zt_pvt *master) { static void disable_dtmf_detect(struct zt_pvt *p) { +#ifdef ZT_TONEDETECT int val; +#endif p->ignoredtmf = 1; @@ -2930,7 +2932,9 @@ static void disable_dtmf_detect(struct zt_pvt *p) static void enable_dtmf_detect(struct zt_pvt *p) { +#ifdef ZT_TONEDETECT int val; +#endif p->ignoredtmf = 0; |