diff options
author | Luigi Rizzo <rizzo@icir.org> | 2006-11-08 13:43:06 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2006-11-08 13:43:06 +0000 |
commit | f58302fc9c20df9cb354377cb61090bdc0b9f2a5 (patch) | |
tree | 42d0098173d90cb3bf0805283f3e89b37074c2ab /channels | |
parent | e644ba34c5382adce4d07d114fc8426b8dedd7d7 (diff) |
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
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e236ff227..2e2463691 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; |