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); }