[svn-commits] russell: trunk r1515 - /trunk/ztcodec_dte.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Oct 17 18:51:58 MST 2006


Author: russell
Date: Tue Oct 17 20:51:57 2006
New Revision: 1515

URL: http://svn.digium.com/view/zaptel?rev=1515&view=rev
Log:
suppress a bunch of compiler warnings

Modified:
    trunk/ztcodec_dte.c

Modified: trunk/ztcodec_dte.c
URL: http://svn.digium.com/view/zaptel/trunk/ztcodec_dte.c?rev=1515&r1=1514&r2=1515&view=diff
==============================================================================
--- trunk/ztcodec_dte.c (original)
+++ trunk/ztcodec_dte.c Tue Oct 17 20:51:57 2006
@@ -588,13 +588,13 @@
 static inline void wcdte_receiveprep(struct wcdte *wc, int dbl)
 {
 	volatile unsigned char *readchunk;
-	struct zt_transcoder_channel *ztc;
-	struct zt_transcode_header *zth;
-	struct dte_state *st;
+	struct zt_transcoder_channel *ztc = NULL;
+	struct zt_transcode_header *zth = NULL;
+	struct dte_state *st = NULL;
 	int o2,i;
 	unsigned char rseq, rcodec;
 	unsigned int reg, rchannel, rlen, rtp_rseq, rtp_eseq;
-	unsigned char *chars;
+	unsigned char *chars = NULL;
 	unsigned int ztc_ndx;
 
 	readchunk = (volatile unsigned char *)wc->readchunk;
@@ -1045,7 +1045,6 @@
 
 	reg = wcdte_getctl(wc, 0x00A0);
 
-	last_byteloc;
 	byteloc = 0;
 	j = 0;
 



More information about the svn-commits mailing list