aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/plugins/Bzip2ArchivePlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/archive/plugins/Bzip2ArchivePlugin.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/archive/plugins/Bzip2ArchivePlugin.cxx b/src/archive/plugins/Bzip2ArchivePlugin.cxx
index d349b537f..14a68fdb5 100644
--- a/src/archive/plugins/Bzip2ArchivePlugin.cxx
+++ b/src/archive/plugins/Bzip2ArchivePlugin.cxx
@@ -108,8 +108,6 @@ struct Bzip2InputStream final : public InputStream {
size_t Read(void *ptr, size_t size, Error &error) override;
};
-extern const InputPlugin bz2_inputplugin;
-
static constexpr Domain bz2_domain("bz2");
/* single archive handling allocation helpers */
@@ -155,7 +153,7 @@ bz2_open(Path pathname, Error &error)
Bzip2InputStream::Bzip2InputStream(Bzip2ArchiveFile &_context,
const char *_uri,
Mutex &_mutex, Cond &_cond)
- :InputStream(bz2_inputplugin, _uri, _mutex, _cond),
+ :InputStream(_uri, _mutex, _cond),
archive(&_context), eof(false)
{
archive->Ref();
@@ -251,13 +249,6 @@ static const char *const bz2_extensions[] = {
nullptr
};
-const InputPlugin bz2_inputplugin = {
- nullptr,
- nullptr,
- nullptr,
- nullptr,
-};
-
const ArchivePlugin bz2_archive_plugin = {
"bz2",
nullptr,