提交 ae3cf0a1 authored 作者: Travis Cross's avatar Travis Cross

Remove dead assignment

...now this code needs refactoring.
上级 2ae823fb
...@@ -3041,7 +3041,6 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s ...@@ -3041,7 +3041,6 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
if (switch_media_handle_test_media_flag(smh, SCMF_DISABLE_HOLD) || if (switch_media_handle_test_media_flag(smh, SCMF_DISABLE_HOLD) ||
((val = switch_channel_get_variable(session->channel, "rtp_disable_hold")) && switch_true(val))) { ((val = switch_channel_get_variable(session->channel, "rtp_disable_hold")) && switch_true(val))) {
sendonly = 0;
} else { } else {
if (!smh->mparams->hold_laps) { if (!smh->mparams->hold_laps) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论