From: Dragos Oancea Date: Thu, 30 Jan 2020 18:01:00 +0000 (+0000) Subject: [core] scan-build: Value stored to 'file' is never read X-Git-Tag: v1.10.3^2~219^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fce39bd785f69215a408fec8fded3746f615302;p=thirdparty%2Ffreeswitch.git [core] scan-build: Value stored to 'file' is never read --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 9e9ebdb19c..1e4aadf0d1 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -243,7 +243,7 @@ static void *SWITCH_THREAD_FUNC collect_thread_run(switch_thread_t *thread, void status = switch_ivr_read(collect->session, (uint32_t)len, (uint32_t)len, - collect->file, NULL, buf, sizeof(buf), collect->confirm_timeout, NULL, 0); + file, NULL, buf, sizeof(buf), collect->confirm_timeout, NULL, 0); if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK && status != SWITCH_STATUS_TOO_SMALL) {