From: Luigi Rizzo Date: Wed, 8 Nov 2006 13:43:06 +0000 (+0000) Subject: silence compiler about uninitialized variables. X-Git-Tag: 1.6.0-beta1~3^2~4084 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f58302fc9c20df9cb354377cb61090bdc0b9f2a5;p=thirdparty%2Fasterisk.git silence compiler about uninitialized variables. The compiler is wrong, but it has the last word. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47314 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e236ff227b..2e24636914 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3030,7 +3030,7 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner, int lockdialoglist) 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;