[asterisk-commits] russell: branch russell/events r59198 - /team/russell/events/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Mar 25 16:50:51 MST 2007


Author: russell
Date: Sun Mar 25 18:50:51 2007
New Revision: 59198

URL: http://svn.digium.com/view/asterisk?view=rev&rev=59198
Log:
make the compiler happy

Modified:
    team/russell/events/channels/chan_sip.c

Modified: team/russell/events/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/channels/chan_sip.c?view=diff&rev=59198&r1=59197&r2=59198
==============================================================================
--- team/russell/events/channels/chan_sip.c (original)
+++ team/russell/events/channels/chan_sip.c Sun Mar 25 18:50:51 2007
@@ -15569,7 +15569,7 @@
 	/* Called with peerl lock, but releases it */
 	struct sip_pvt *p;
 	int newmsgs = 0, oldmsgs = 0;
-	struct ast_event *cache_event;
+	struct ast_event *cache_event = NULL;
 
 	if (ast_test_flag((&peer->flags[1]), SIP_PAGE2_SUBSCRIBEMWIONLY) && !peer->mwipvt)
 		return 0;



More information about the asterisk-commits mailing list