[svn-commits] trunk r1128 - /trunk/vpm450m.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jun 19 20:59:03 MST 2006


Author: russell
Date: Mon Jun 19 22:59:02 2006
New Revision: 1128

URL: http://svn.digium.com/view/zaptel?rev=1128&view=rev
Log:
suppress a couple of compiler warnings about potentially uninitialized variables

Modified:
    trunk/vpm450m.c

Modified: trunk/vpm450m.c
URL: http://svn.digium.com/view/zaptel/trunk/vpm450m.c?rev=1128&r1=1127&r2=1128&view=diff
==============================================================================
--- trunk/vpm450m.c (original)
+++ trunk/vpm450m.c Mon Jun 19 22:59:02 2006
@@ -21860,7 +21860,7 @@
 	UINT32	ulFeatureBytesOffset;
 	UINT32	ulFeatureBitOffset;
 	UINT32	ulFeatureFieldLength;
-	UINT32	ulTempData;
+	UINT32	ulTempData = 0;
 	UINT32	ulCounterValue;
 	UINT32	ulMask;
 
@@ -25373,7 +25373,7 @@
 												  cOCT6100_TLV_MAX_LENGTH_MAX_TAIL_DISPLACEMENT );
 		if ( ulResult == cOCT6100_ERR_OK )
 		{
-			UINT32	ulTailDispTempValue;
+			UINT32	ulTailDispTempValue = 0;
 			ulResult = Oct6100ApiReadDword(	f_pApiInstance,
 											f_ulTlvValueAddress, 
 											&ulTailDispTempValue );



More information about the svn-commits mailing list