Commit fe3c5e4e authored by Max Kellermann's avatar Max Kellermann

DecoderThread: remove unused function deconst_plugin()

parent d110131a
...@@ -170,15 +170,6 @@ decoder_file_decode(const DecoderPlugin &plugin, ...@@ -170,15 +170,6 @@ decoder_file_decode(const DecoderPlugin &plugin,
return decoder.dc.state != DecoderState::START; 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 gcc_pure
static bool static bool
decoder_check_plugin_mime(const DecoderPlugin &plugin, const input_stream &is) decoder_check_plugin_mime(const DecoderPlugin &plugin, const input_stream &is)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment