Merge pull request #346 from dragos-oancea/switch_ivr_originate-myflags-val-never-read

[core] scan-build: Value stored to 'myflags' during its initialization is never read - switch_ivr_originate()
This commit is contained in:
Andrey Volk 2020-02-14 00:20:23 +04:00 committed by GitHub
commit b8510c33ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;