mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-07 23:29:20 -07:00
silence compiler warnings when ZT_TONEDETECT is not defined (issue #5470)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user