Merge pull request #273 from dragos-oancea/switch_core_session_reporting_state_dead_a

[core] scan-build: Value stored to 'midstate' during its initialization is never read
This commit is contained in:
Andrey Volk 2020-01-30 23:24:38 +04:00 committed by GitHub
commit f9415eadae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -868,7 +868,7 @@ SWITCH_DECLARE(void) switch_core_session_hangup_state(switch_core_session_t *ses
SWITCH_DECLARE(void) switch_core_session_reporting_state(switch_core_session_t *session)
{
switch_channel_state_t state = switch_channel_get_state(session->channel), midstate = state;
switch_channel_state_t state = switch_channel_get_state(session->channel), midstate;
const switch_endpoint_interface_t *endpoint_interface;
const switch_state_handler_table_t *driver_state_handler = NULL;
const switch_state_handler_table_t *application_state_handler = NULL;