]> 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:21:09 +0000 (17:21 +0000)
committerSean Bright <sean@malleable.com>
Thu, 25 Mar 2010 17:21:09 +0000 (17:21 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@254548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 0c946cf733e50e1de4c79f9d9dc5efe4de1de984..f011f16d3d1720c2c4ce4800a21e776387d485d4 100644 (file)
@@ -20957,7 +20957,7 @@ static int acf_channel_read(struct ast_channel *chan, const char *funcname, char
                ast_copy_string(buf, (p->t38.state == T38_DISABLED) ? "0" : "1", buflen);
        } else 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";