mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-11785 [mod_rtc] fix dead assignment
This commit is contained in:
parent
1f05e5e8be
commit
0bd5b557e5
@ -231,11 +231,9 @@ static switch_status_t rtc_receive_message(switch_core_session_t *session, switc
|
||||
{
|
||||
switch_channel_t *channel = switch_core_session_get_channel(session);
|
||||
private_object_t *tech_pvt = switch_core_session_get_private(session);
|
||||
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
||||
const char *var;
|
||||
|
||||
if (switch_channel_down(channel) || !tech_pvt) {
|
||||
status = SWITCH_STATUS_FALSE;
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
@ -260,7 +258,7 @@ static switch_status_t rtc_receive_message(switch_core_session_t *session, switc
|
||||
}
|
||||
|
||||
|
||||
return status;
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user