silence compiler about uninitialized variables.
authorLuigi Rizzo <rizzo@icir.org>
Wed, 8 Nov 2006 13:43:06 +0000 (13:43 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 8 Nov 2006 13:43:06 +0000 (13:43 +0000)
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

channels/chan_sip.c

index e236ff2..2e24636 100644 (file)
@@ -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;