From 4b8e8f830bc7d4ed78afc419205f3cdddf3cf891 Mon Sep 17 00:00:00 2001 From: seanbright Date: Thu, 25 Mar 2010 17:19:36 +0000 Subject: Initialize stream to avoid a compilation error. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@254546 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels') diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c1f438fa5..86398dbae 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -19064,7 +19064,7 @@ static int acf_channel_read(struct ast_channel *chan, const char *funcname, char if (!strcasecmp(args.param, "rtpdest")) { struct sockaddr_in sin; - struct ast_rtp *stream; + struct ast_rtp *stream = NULL; if (ast_strlen_zero(args.type)) args.type = "audio"; -- cgit v1.2.3