]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'file' is never read 274/head
authorDragos Oancea <dragos@signalwire.com>
Thu, 30 Jan 2020 18:01:00 +0000 (18:01 +0000)
committerDragos Oancea <dragos@signalwire.com>
Thu, 30 Jan 2020 18:01:00 +0000 (18:01 +0000)
src/switch_ivr_originate.c

index 9e9ebdb19c6397c8c72751913175efba495ac745..1e4aadf0d1cc0921717b1a3c676151905e4e7252 100644 (file)
@@ -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) {