From bc6fe22a0b83914c1bdec73ff5979961a702e9fc Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Thu, 2 May 2019 20:19:42 -0400 Subject: [PATCH] FS-11785 [mod_tone_stream] fix dead assignment --- src/mod/formats/mod_tone_stream/mod_tone_stream.c | 1 - 1 file changed, 1 deletion(-) 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); }