diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:19:36 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:19:36 +0000 |
commit | 4b8e8f830bc7d4ed78afc419205f3cdddf3cf891 (patch) | |
tree | 956c4c8c481493f7afe0f44eec01d4594c15a965 /channels/chan_sip.c | |
parent | 1e4fccc0ce0d999e98d7c0c72046be7098b135c0 (diff) |
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
Diffstat (limited to 'channels/chan_sip.c')
-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 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"; |