From c20126598fe64a946347b52ee5dea6f21c317966 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 13 Dec 2016 21:24:05 +0100 Subject: [PATCH] output/Thread: remove unused variable --- src/output/OutputThread.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/output/OutputThread.cxx b/src/output/OutputThread.cxx index bce998949..27a09f6c0 100644 --- a/src/output/OutputThread.cxx +++ b/src/output/OutputThread.cxx @@ -268,9 +268,8 @@ AudioOutput::ReopenFilter() CloseFilter(); } - AudioFormat filter_audio_format; try { - filter_audio_format = OpenFilter(in_audio_format); + OpenFilter(in_audio_format); convert_filter_set(convert_filter.Get(), out_audio_format); } catch (const std::runtime_error &e) { FormatError(e, @@ -278,8 +277,6 @@ AudioOutput::ReopenFilter() name, plugin.name); Close(false); - - return; } }