diff options
author | Max Kellermann <max@duempel.org> | 2013-09-03 10:54:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-03 10:54:29 +0200 |
commit | bbd711556476d5ef3510678a5e525974821803b2 (patch) | |
tree | f505525dd4d394542bc5f776c9b0226e9e069193 /src/input/MmsInputPlugin.cxx | |
parent | 8d36367fe2e593363ff941183da8804671fe9e3e (diff) | |
download | mpd-bbd711556476d5ef3510678a5e525974821803b2.tar.gz mpd-bbd711556476d5ef3510678a5e525974821803b2.tar.xz mpd-bbd711556476d5ef3510678a5e525974821803b2.zip |
input/{mms,despotify}: remove "seek" implementation
Omitting it has the same effect as returning false unconditionally.
Diffstat (limited to 'src/input/MmsInputPlugin.cxx')
-rw-r--r-- | src/input/MmsInputPlugin.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/input/MmsInputPlugin.cxx b/src/input/MmsInputPlugin.cxx index 678c52f91..80d479613 100644 --- a/src/input/MmsInputPlugin.cxx +++ b/src/input/MmsInputPlugin.cxx @@ -123,14 +123,6 @@ input_mms_eof(struct input_stream *is) return m->eof; } -static bool -input_mms_seek(gcc_unused struct input_stream *is, - gcc_unused goffset offset, gcc_unused int whence, - gcc_unused GError **error_r) -{ - return false; -} - const struct input_plugin input_plugin_mms = { "mms", nullptr, @@ -143,5 +135,5 @@ const struct input_plugin input_plugin_mms = { nullptr, input_mms_read, input_mms_eof, - input_mms_seek, + nullptr, }; |