aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-23 21:57:28 +0200
committerMax Kellermann <max@duempel.org>2013-10-23 21:57:28 +0200
commitfe3c5e4e8e3c46d57cb49c2dd6c4c2dc814a797b (patch)
tree0c6741f600b1e87e91de587cbbea811e36eb8579
parentd110131ad68fc834f972ab81b1c2292a8c0dacd9 (diff)
downloadmpd-fe3c5e4e8e3c46d57cb49c2dd6c4c2dc814a797b.tar.gz
mpd-fe3c5e4e8e3c46d57cb49c2dd6c4c2dc814a797b.tar.xz
mpd-fe3c5e4e8e3c46d57cb49c2dd6c4c2dc814a797b.zip
DecoderThread: remove unused function deconst_plugin()
-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)