archive/File: remove unused attribute "plugin"

This commit is contained in:
Max Kellermann
2017-12-22 15:50:56 +01:00
parent 300a619991
commit 20555c8e37
4 changed files with 3 additions and 10 deletions

View File

@@ -46,8 +46,7 @@ public:
const InputStreamPtr istream;
Bzip2ArchiveFile(Path path, InputStreamPtr &&_is)
:ArchiveFile(bz2_archive_plugin),
name(path.GetBase().c_str()),
:name(path.GetBase().c_str()),
istream(std::move(_is)) {
// remove .bz2 suffix
const size_t len = name.length();