mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-17 00:34:13 +00:00
Minor code duplicatation removal.
This commit is contained in:
1 parent
8244fb62e8
commit
9ce66748af
1 file changed
+1
-1
@@ -305,7 +305,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))) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user