]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Initialize stream to avoid a compilation error.
authorSean Bright <sean@malleable.com>
Thu, 25 Mar 2010 17:19:36 +0000 (17:19 +0000)
committerSean Bright <sean@malleable.com>
Thu, 25 Mar 2010 17:19:36 +0000 (17:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@254546 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index c1f438fa5cf80e4b535cc04db186e227c9fb636e..86398dbae28be9dea95c746bd111f41669f621e3 100644 (file)
@@ -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";