dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
russell 2005-10-20 16:50:18 +00:00
parent 14644c46a5
commit 6ef43c2854
1 changed files with 4 additions and 0 deletions

View File

@ -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;