Author: kpfleming
Date: Fri Mar 21 10:36:37 2008
New Revision: 4050
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4050
a>
Log:
silence some compiler warnings about unused variables
Modified:
branches/1.4/kernel/wctdm24xxp/GpakApi.c
branches/1.4/kernel/wcte12xp/GpakApi.c
Modified: branches/1.4/kernel/wctdm24xxp/GpakApi.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kern
el/wctdm24xxp/GpakApi.c?view=diff&rev=4050&r1=4049&a
mp;r2=4050
============================================================
==================
--- branches/1.4/kernel/wctdm24xxp/GpakApi.c (original)
+++ branches/1.4/kernel/wctdm24xxp/GpakApi.c Fri Mar 21
10:36:37 2008
 -128,10
+128,12 
DSP_ADDRESS IfBlockPntr; /* Interface Block pointer */
DSP_WORD DspStatus; /* DSP Status */
DSP_WORD DspChannels; /* number of DSP channels */
+ DSP_WORD Temp[2];
+#if 0
DSP_WORD DspConfs; /* number of DSP conferences
*/
DSP_ADDRESS PktBufrMem; /* address of Packet Buffer
*/
- DSP_WORD Temp[2];
unsigned short int i; /* loop index / counter */
+#endif
/* Read the pointer to the Interface Block. */
gpakReadDspMemory(DspId, DSP_IFBLK_ADDRESS, 2, Temp);
 -897,7
+899,9 
DSP_WORD TakeIndex; /* event fifo take index */
DSP_WORD WordsReady; /* number words ready for read
out of event fifo */
DSP_WORD EventError; /* flag indicating error with
event fifo msg */
+#if 0
DSP_WORD *pDebugData; /* debug data buffer pointer in
event data struct */
+#endif
/* Make sure the DSP Id is valid. */
if (DspId >= MAX_DSP_CORES)
Modified: branches/1.4/kernel/wcte12xp/GpakApi.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel
/wcte12xp/GpakApi.c?view=diff&rev=4050&r1=4049&r
2=4050
============================================================
==================
--- branches/1.4/kernel/wcte12xp/GpakApi.c (original)
+++ branches/1.4/kernel/wcte12xp/GpakApi.c Fri Mar 21
10:36:37 2008
 -128,10
+128,12 
DSP_ADDRESS IfBlockPntr; /* Interface Block pointer */
DSP_WORD DspStatus; /* DSP Status */
DSP_WORD DspChannels; /* number of DSP channels */
+ DSP_WORD Temp[2];
+#if 0
DSP_WORD DspConfs; /* number of DSP conferences
*/
DSP_ADDRESS PktBufrMem; /* address of Packet Buffer
*/
- DSP_WORD Temp[2];
unsigned short int i; /* loop index / counter */
+#endif
/* Read the pointer to the Interface Block. */
gpakReadDspMemory(DspId, DSP_IFBLK_ADDRESS, 2, Temp);
 -897,7
+899,9 
DSP_WORD TakeIndex; /* event fifo take index */
DSP_WORD WordsReady; /* number words ready for read
out of event fifo */
DSP_WORD EventError; /* flag indicating error with
event fifo msg */
+#if 0
DSP_WORD *pDebugData; /* debug data buffer pointer in
event data struct */
+#endif
/* Make sure the DSP Id is valid. */
if (DspId >= MAX_DSP_CORES)
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--
zaptel-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/zaptel-commits
a>
|