mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 12:37:26 +00:00
comment out unused vars
This commit is contained in:
parent
0ecd5678d1
commit
36719e3017
@ -137,8 +137,8 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
|||||||
*szremote_port = switch_event_get_header_nil(var_event, kREMOTEPORT),
|
*szremote_port = switch_event_get_header_nil(var_event, kREMOTEPORT),
|
||||||
*codec = switch_event_get_header_nil(var_event, kCODEC),
|
*codec = switch_event_get_header_nil(var_event, kCODEC),
|
||||||
*szptime = switch_event_get_header_nil(var_event, kPTIME),
|
*szptime = switch_event_get_header_nil(var_event, kPTIME),
|
||||||
*mode = switch_event_get_header_nil(var_event, kMODE),
|
//*mode = switch_event_get_header_nil(var_event, kMODE),
|
||||||
*szrfc2833_pt = switch_event_get_header_nil(var_event, kRFC2833PT),
|
//*szrfc2833_pt = switch_event_get_header_nil(var_event, kRFC2833PT),
|
||||||
*szrate = switch_event_get_header_nil(var_event, kRATE),
|
*szrate = switch_event_get_header_nil(var_event, kRATE),
|
||||||
*szpt = switch_event_get_header_nil(var_event, kPT);
|
*szpt = switch_event_get_header_nil(var_event, kPT);
|
||||||
|
|
||||||
@ -147,7 +147,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
|||||||
remote_port = !zstr(szremote_port) ? atoi(szremote_port) : 0;
|
remote_port = !zstr(szremote_port) ? atoi(szremote_port) : 0;
|
||||||
|
|
||||||
int ptime = !zstr(szptime) ? atoi(szptime) : 0,
|
int ptime = !zstr(szptime) ? atoi(szptime) : 0,
|
||||||
rfc2833_pt = !zstr(szrfc2833_pt) ? atoi(szrfc2833_pt) : 0,
|
//rfc2833_pt = !zstr(szrfc2833_pt) ? atoi(szrfc2833_pt) : 0,
|
||||||
rate = !zstr(szrate) ? atoi(szrate) : 8000,
|
rate = !zstr(szrate) ? atoi(szrate) : 8000,
|
||||||
pt = !zstr(szpt) ? atoi(szpt) : 0;
|
pt = !zstr(szpt) ? atoi(szpt) : 0;
|
||||||
|
|
||||||
@ -304,7 +304,6 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
|
|||||||
goto cng;
|
goto cng;
|
||||||
}
|
}
|
||||||
|
|
||||||
done:
|
|
||||||
*frame = &tech_pvt->read_frame;
|
*frame = &tech_pvt->read_frame;
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user