X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fpacksource.cpp;fp=source%2Fpacksource.cpp;h=0fb64843b305edd8839a4e93bf1bb04c9c3f33de;hp=4a0bb15e1a34554be1ef6668537081da716c589c;hb=e14c01b5775dd2e324b16ff49498db9b9113c523;hpb=a2cce9e933089f483163456e9872e005c33dd678 diff --git a/source/packsource.cpp b/source/packsource.cpp index 4a0bb15..0fb6484 100644 --- a/source/packsource.cpp +++ b/source/packsource.cpp @@ -161,8 +161,7 @@ IO::Seekable *PackSource::open(const string &fn) const PackSource::Pack::Pack(IO::Seekable *i, const string &fn): filename(fn), - io(i), - base_offset(0) + io(i) { } PackSource::Pack::Pack(const Pack &other): @@ -203,10 +202,7 @@ void PackSource::Pack::translate_files(FileMap &fm, const Pack &source) const PackSource::File::File(const Pack &p, const string &fn): pack(p), - filename(fn), - offset(0), - length(0), - collection(false) + filename(fn) { } PackSource::File::File(const File &other, const Pack &p):