[asterisk-commits] mnicholson: branch 1.6.1 r308725 - /branches/1.6.1/main/udptl.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 24 09:16:47 CST 2011


Author: mnicholson
Date: Thu Feb 24 09:16:43 2011
New Revision: 308725

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308725
Log:
silence gcc 4.2 compiler warning

Modified:
    branches/1.6.1/main/udptl.c

Modified: branches/1.6.1/main/udptl.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/main/udptl.c?view=diff&rev=308725&r1=308724&r2=308725
==============================================================================
--- branches/1.6.1/main/udptl.c (original)
+++ branches/1.6.1/main/udptl.c Thu Feb 24 09:16:43 2011
@@ -322,9 +322,9 @@
 	unsigned int count;
 	int total_count;
 	int seq_no;
-	const uint8_t *ifp;
-	const uint8_t *data;
-	unsigned int ifp_len;
+	const uint8_t *ifp = NULL;
+	const uint8_t *data = NULL;
+	unsigned int ifp_len = 0;
 	int repaired[16];
 	const uint8_t *bufs[ARRAY_LEN(s->f) - 1];
 	unsigned int lengths[ARRAY_LEN(s->f) - 1];




More information about the asterisk-commits mailing list