[asterisk-commits] mnicholson: branch 1.4 r308721 - /branches/1.4/main/udptl.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 24 08:55:02 CST 2011


Author: mnicholson
Date: Thu Feb 24 08:54:56 2011
New Revision: 308721

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

Modified:
    branches/1.4/main/udptl.c

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




More information about the asterisk-commits mailing list