[svn-commits] rizzo: trunk r47314 - /trunk/channels/chan_sip.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Nov 8 06:43:09 MST 2006


Author: rizzo
Date: Wed Nov  8 07:43:06 2006
New Revision: 47314

URL: http://svn.digium.com/view/asterisk?rev=47314&view=rev
Log:
silence compiler about uninitialized variables.
The compiler is wrong, but it has the last word.


Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=47314&r1=47313&r2=47314&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Nov  8 07:43:06 2006
@@ -3030,7 +3030,7 @@
 static int update_call_counter(struct sip_pvt *fup, int event)
 {
 	char name[256];
-	int *inuse, *call_limit, *inringing;
+	int *inuse = NULL, *call_limit = NULL, *inringing = NULL;
 	int outgoing = ast_test_flag(&fup->flags[0], SIP_OUTGOING);
 	struct sip_user *u = NULL;
 	struct sip_peer *p = NULL;



More information about the svn-commits mailing list