]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove unreferenced variable
authorJeff Lenk <jeff@jefflenk.com>
Tue, 21 Feb 2012 18:26:36 +0000 (12:26 -0600)
committerJeff Lenk <jeff@jefflenk.com>
Tue, 21 Feb 2012 18:27:44 +0000 (12:27 -0600)
src/mod/applications/mod_dptools/mod_dptools.c

index f5c28221c1470cbffd41359b78ff5e5118b32b88..8067e98675191c90f27ec5f9f0df1bf39a6004ba 100755 (executable)
@@ -3038,7 +3038,6 @@ SWITCH_STANDARD_APP(audio_bridge_function)
        } else {
 
                if (switch_channel_test_flag(caller_channel, CF_PROXY_MODE)) {
-                       switch_channel_t *channel = switch_core_session_get_channel(session);
                        switch_channel_t *peer_channel = switch_core_session_get_channel(peer_session);
                        if (switch_true(switch_channel_get_variable(caller_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE)) ||
                                switch_true(switch_channel_get_variable(peer_channel, SWITCH_BYPASS_MEDIA_AFTER_BRIDGE_VARIABLE))) {