[zaptel-commits] kpfleming: branch 1.4 r4050 - in /branches/1.4/kernel: wctdm24xxp/ wcte12xp/

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Mar 21 10:36:38 CDT 2008


Author: kpfleming
Date: Fri Mar 21 10:36:37 2008
New Revision: 4050

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4050
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/kernel/wctdm24xxp/GpakApi.c?view=diff&rev=4050&r1=4049&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&r2=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)




More information about the zaptel-commits mailing list