[core] scan-build: Value stored to 'myflags' during its initialization is never read - switch_ivr_originate()

This commit is contained in:
Dragos Oancea 2020-02-12 21:49:43 +00:00
parent c714401935
commit 0e6a15419d
1 changed files with 1 additions and 1 deletions

View File

@ -1977,7 +1977,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
switch_dial_handle_t *dh)
{
originate_status_t originate_status[MAX_PEERS] = { {0} };
switch_originate_flag_t dftflags = SOF_NONE, myflags = dftflags;
switch_originate_flag_t dftflags = SOF_NONE, myflags;
char *pipe_names[MAX_PEERS] = { 0 };
char *data = NULL;
switch_status_t status = SWITCH_STATUS_SUCCESS;