mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +00:00
[Core] Fix various dead assignments.
This commit is contained in:
1 parent
9f2d044ca5
commit
c3ee0c17cb
4 files changed
+1
-7
No files matched your search
@@ -420,9 +420,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
|
||||
inner_bridge = switch_channel_test_flag(chan_a, CF_INNER_BRIDGE);
|
||||
|
||||
if (!switch_channel_test_flag(chan_a, CF_ANSWERED) && (bridge_answer_timeout = switch_channel_get_variable(chan_a, "bridge_answer_timeout"))) {
|
||||
if ((answer_timeout = atoi(bridge_answer_timeout)) < 0) {
|
||||
answer_timeout = 0;
|
||||
} else {
|
||||
if ((answer_timeout = atoi(bridge_answer_timeout)) >= 0) {
|
||||
answer_limit = switch_epoch_time_now(NULL) + answer_timeout;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user