mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
Minor code duplicatation removal.
This commit is contained in:
parent
ccc013e032
commit
1f482302c6
@ -304,7 +304,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
|
||||
|
||||
static switch_status_t channel_on_destroy(switch_core_session_t *session)
|
||||
{
|
||||
crtp_private_t *tech_pvt = switch_core_session_get_private(session);
|
||||
crtp_private_t *tech_pvt = NULL;
|
||||
|
||||
if ((tech_pvt = switch_core_session_get_private(session))) {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user