diff options
author | Max Kellermann <max@duempel.org> | 2014-05-11 18:25:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-05-11 18:25:55 +0200 |
commit | fd1b04932a07e146a0a3c4ce52ace068a112587b (patch) | |
tree | fdc799083a93453b962e6bc9f8d9d95e624bd441 /src/archive/plugins/ZzipArchivePlugin.cxx | |
parent | d4b625b48e6bbac61b4128aeeaf44911b2e3e03b (diff) | |
download | mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.tar.gz mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.tar.xz mpd-fd1b04932a07e146a0a3c4ce52ace068a112587b.zip |
InputStream: remove attribute "plugin"
Diffstat (limited to '')
-rw-r--r-- | src/archive/plugins/ZzipArchivePlugin.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/archive/plugins/ZzipArchivePlugin.cxx b/src/archive/plugins/ZzipArchivePlugin.cxx index 53b6b9f93..436ebc793 100644 --- a/src/archive/plugins/ZzipArchivePlugin.cxx +++ b/src/archive/plugins/ZzipArchivePlugin.cxx @@ -64,8 +64,6 @@ public: Error &error) override; }; -extern const InputPlugin zzip_input_plugin; - static constexpr Domain zzip_domain("zzip"); /* archive open && listing routine */ @@ -105,7 +103,7 @@ struct ZzipInputStream final : public InputStream { ZzipInputStream(ZzipArchiveFile &_archive, const char *_uri, Mutex &_mutex, Cond &_cond, ZZIP_FILE *_file) - :InputStream(zzip_input_plugin, _uri, _mutex, _cond), + :InputStream(_uri, _mutex, _cond), archive(&_archive), file(_file) { //we are seekable (but its not recommendent to do so) seekable = true; @@ -185,13 +183,6 @@ static const char *const zzip_archive_extensions[] = { nullptr }; -const InputPlugin zzip_input_plugin = { - nullptr, - nullptr, - nullptr, - nullptr, -}; - const ArchivePlugin zzip_archive_plugin = { "zzip", nullptr, |