]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
switch_ivr_originate: fix windows compiler warning
authorMathieu Rene <mrene@avgs.ca>
Fri, 15 Jan 2010 17:36:23 +0000 (17:36 +0000)
committerMathieu Rene <mrene@avgs.ca>
Fri, 15 Jan 2010 17:36:23 +0000 (17:36 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16322 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index 21a79f63932f2f2681f5dab59248e4dc793271af..7135ae5ff57eb1a3ee97a0b4faeef253bee6e70f 100644 (file)
@@ -2609,7 +2609,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
                                                        switch_channel_t *b_channel = originate_status[oglobals.bridge_early_media].peer_channel;
                                                        switch_core_session_t *b_session = originate_status[oglobals.bridge_early_media].peer_session;
                                                        switch_status_t b_status = SWITCH_STATUS_FALSE;
-                                                       switch_frame_t *b_frame;
+                                                       switch_frame_t *b_frame = NULL;
                                                        
                                                        if (b_channel && b_session) {
                                                                b_status = switch_core_session_read_frame(b_session, &b_frame, SWITCH_IO_FLAG_NONE, 0);