]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11785 [mod_tone_stream] fix dead assignment
authorChris Rienzo <chris@signalwire.com>
Fri, 3 May 2019 00:19:42 +0000 (20:19 -0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 17 Jul 2019 17:50:56 +0000 (21:50 +0400)
src/mod/formats/mod_tone_stream/mod_tone_stream.c

index f1baecb5e9669923b0c2636ea785981c0d186331..e3d5d260747199cb959315a39be4968860fb82b7 100644 (file)
@@ -176,7 +176,6 @@ static switch_status_t tone_stream_file_open(switch_file_handle_t *handle, const
                        teletone_run(&ts, buf);
                }
                close(fd);
-               fd = -1;
        } else {
                teletone_run(&ts, tonespec);
        }