From 0e6a15419d593643bfcb106d682971dcd9cab971 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Wed, 12 Feb 2020 21:49:43 +0000 Subject: [PATCH] [core] scan-build: Value stored to 'myflags' during its initialization is never read - switch_ivr_originate() --- src/switch_ivr_originate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 1e4aadf0d1..4120513c58 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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;