From: Chris Rienzo Date: Fri, 3 May 2019 00:19:42 +0000 (-0400) Subject: FS-11785 [mod_tone_stream] fix dead assignment X-Git-Tag: v1.10.0~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc6fe22a0b83914c1bdec73ff5979961a702e9fc;p=thirdparty%2Ffreeswitch.git FS-11785 [mod_tone_stream] fix dead assignment --- diff --git a/src/mod/formats/mod_tone_stream/mod_tone_stream.c b/src/mod/formats/mod_tone_stream/mod_tone_stream.c index f1baecb5e9..e3d5d26074 100644 --- a/src/mod/formats/mod_tone_stream/mod_tone_stream.c +++ b/src/mod/formats/mod_tone_stream/mod_tone_stream.c @@ -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); }