From cd0082c630bde38ef975da6ef463c8869c27df3b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 23 Aug 2014 13:54:07 +0200 Subject: decoder/dsf: eliminate pointless return statement --- src/decoder/plugins/DsfDecoderPlugin.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/decoder/plugins/DsfDecoderPlugin.cxx b/src/decoder/plugins/DsfDecoderPlugin.cxx index 0f0739e37..c0b0871cf 100644 --- a/src/decoder/plugins/DsfDecoderPlugin.cxx +++ b/src/decoder/plugins/DsfDecoderPlugin.cxx @@ -313,11 +313,10 @@ dsf_stream_decode(Decoder &decoder, InputStream &is) /* success: file was recognized */ decoder_initialized(decoder, audio_format, false, songtime); - if (!dsf_decode_chunk(decoder, is, metadata.channels, - metadata.sample_rate, - n_blocks, - metadata.bitreverse)) - return; + dsf_decode_chunk(decoder, is, metadata.channels, + metadata.sample_rate, + n_blocks, + metadata.bitreverse); } static bool -- cgit v1.2.3