aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderThread.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecoderThread.cxx')
-rw-r--r--src/DecoderThread.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx
index 556ab327e..4e2c4418a 100644
--- a/src/DecoderThread.cxx
+++ b/src/DecoderThread.cxx
@@ -170,15 +170,6 @@ decoder_file_decode(const DecoderPlugin &plugin,
return decoder.dc.state != DecoderState::START;
}
-/**
- * Hack to allow tracking const decoder plugins in a GSList.
- */
-static inline gpointer
-deconst_plugin(const struct DecoderPlugin *plugin)
-{
- return const_cast<struct DecoderPlugin *>(plugin);
-}
-
gcc_pure
static bool
decoder_check_plugin_mime(const DecoderPlugin &plugin, const input_stream &is)