[asterisk-commits] mnicholson: branch 1.6.2 r308722 - in /branches/1.6.2: ./ main/udptl.c

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


Author: mnicholson
Date: Thu Feb 24 08:59:41 2011
New Revision: 308722

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308722
Log:
Merged revisions 308721 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r308721 | mnicholson | 2011-02-24 08:54:56 -0600 (Thu, 24 Feb 2011) | 2 lines
  
  silence gcc 4.2 compiler warning
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/udptl.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: branches/1.6.2/main/udptl.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/udptl.c?view=diff&rev=308722&r1=308721&r2=308722
==============================================================================
--- branches/1.6.2/main/udptl.c (original)
+++ branches/1.6.2/main/udptl.c Thu Feb 24 08:59:41 2011
@@ -320,9 +320,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