archive/bzip2: use C++11 initializer

This commit is contained in:
Max Kellermann 2016-02-21 13:16:27 +01:00
parent 0705f42cf8
commit 82b8f4f1ce
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public:
struct Bzip2InputStream final : public InputStream {
Bzip2ArchiveFile *archive;
bool eof;
bool eof = false;
bz_stream bzstream;
@ -150,7 +150,7 @@ Bzip2InputStream::Bzip2InputStream(Bzip2ArchiveFile &_context,
const char *_uri,
Mutex &_mutex, Cond &_cond)
:InputStream(_uri, _mutex, _cond),
archive(&_context), eof(false)
archive(&_context)
{
archive->Ref();
}