aboutsummaryrefslogtreecommitdiffstats
path: root/channels/xpmr
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-17 16:09:01 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-17 16:09:01 +0000
commit1dd6cd6bc18ec13f54ce6e8b2e5b82e893c6c391 (patch)
tree399841093db5b3762ba54f2644cbd6fe15e74c2a /channels/xpmr
parentcfd74e7391ed7ae017b342cd0317db7d4502015f (diff)
Allow chan_usbradio to compile again.
Closes issue #11014, patch by seanbright. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86104 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/xpmr')
-rwxr-xr-xchannels/xpmr/xpmr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/xpmr/xpmr.c b/channels/xpmr/xpmr.c
index 4c968144d..a799ca9d3 100755
--- a/channels/xpmr/xpmr.c
+++ b/channels/xpmr/xpmr.c
@@ -1817,8 +1817,8 @@ t_pmr_chan *createPmrChannel(t_pmr_chan *tChan, i16 numSamples)
#if XPMR_DEBUG0 == 1
{
- TRACEX((" configure tracing\n"));
t_tdet *ptdet;
+ TRACEX((" configure tracing\n"));
pChan->rxCtcss->pDebug0=calloc(numSamples,2);
pChan->rxCtcss->pDebug1=calloc(numSamples,2);
@@ -1846,6 +1846,7 @@ t_pmr_chan *createPmrChannel(t_pmr_chan *tChan, i16 numSamples)
i16 destroyPmrChannel(t_pmr_chan *pChan)
{
t_pmr_sps *pmr_sps, *tmp_sps;
+ i16 i;
TRACEX(("destroyPmrChannel()\n"));
@@ -1888,7 +1889,6 @@ i16 destroyPmrChannel(t_pmr_chan *pChan)
free(pChan->ptxDebug2);
free(pChan->ptxDebug3);
- i16 i;
for(i=0;i<CTCSS_NUM_CODES;i++)
{
free(pChan->rxCtcss->tdet[i].pDebug0);