From 43b285ef7a810c3f012429d5b4377c581b10f077 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 10 Nov 2016 12:50:12 +0100 Subject: [PATCH] decoder/Thread: remove the obsolete catch(Error&) --- src/decoder/DecoderThread.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/decoder/DecoderThread.cxx b/src/decoder/DecoderThread.cxx index acff3f0a0..cc008f324 100644 --- a/src/decoder/DecoderThread.cxx +++ b/src/decoder/DecoderThread.cxx @@ -33,7 +33,6 @@ #include "DecoderList.hxx" #include "util/MimeType.hxx" #include "util/UriUtil.hxx" -#include "util/Error.hxx" #include "util/RuntimeError.hxx" #include "util/Domain.hxx" #include "util/ScopeExit.hxx" @@ -466,8 +465,6 @@ decoder_task(void *arg) std::rethrow_exception(dc.error); } catch (const std::exception &e) { LogError(e); - } catch (const Error &error) { - LogError(error); } catch (...) { } }