mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-26 21:24:16 +00:00
FS-11785 [mod_rtc] fix dead assignment
This commit is contained in:
1 parent
1f05e5e8be
commit
0bd5b557e5
1 file changed
+1
-3
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user