[asterisk-commits] murf: branch murf/bug11210 r104299 - /team/murf/bug11210/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 26 15:42:33 CST 2008


Author: murf
Date: Tue Feb 26 15:42:33 2008
New Revision: 104299

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104299
Log:
Fix a warning generated with gcc 4.1.3 on a 64-bit platform

Modified:
    team/murf/bug11210/channels/chan_iax2.c

Modified: team/murf/bug11210/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug11210/channels/chan_iax2.c?view=diff&rev=104299&r1=104298&r2=104299
==============================================================================
--- team/murf/bug11210/channels/chan_iax2.c (original)
+++ team/murf/bug11210/channels/chan_iax2.c Tue Feb 26 15:42:33 2008
@@ -1821,7 +1821,7 @@
 	int x;
 	struct timeval now;
 	char host[80];
-	struct chan_iax2_pvt *respvt;
+	struct chan_iax2_pvt *respvt = NULL;
 
 	if (tmp_pvt_ptr == NULL) {
 		tmp_pvt_ptr = new_iax(NULL, "huh"); /* do this ONCE, and we can use it ever after that for hash lookups */




More information about the asterisk-commits mailing list