Kelson has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/314719 )
Change subject: Remove unused currentPos from fstream. ...................................................................... Remove unused currentPos from fstream. Change-Id: Idd7e392b35dbe36e5d4ee4a03f6119bb01ab4e2e --- M zimlib/include/zim/fstream.h M zimlib/src/fstream.cpp 2 files changed, 0 insertions(+), 2 deletions(-) Approvals: Kelson: Verified; Looks good to me, approved diff --git a/zimlib/include/zim/fstream.h b/zimlib/include/zim/fstream.h index 4b99814..b971da0 100644 --- a/zimlib/include/zim/fstream.h +++ b/zimlib/include/zim/fstream.h @@ -60,7 +60,6 @@ FilesType files; OpenFilesCacheType openFilesCache; OpenfileInfoPtr currentFile; - zim::offset_type currentPos; std::streambuf::int_type overflow(std::streambuf::int_type ch); std::streambuf::int_type underflow(); diff --git a/zimlib/src/fstream.cpp b/zimlib/src/fstream.cpp index ef91b57..b8e5a98 100644 --- a/zimlib/src/fstream.cpp +++ b/zimlib/src/fstream.cpp @@ -264,7 +264,6 @@ void streambuf::seekg(zim::offset_type off) { setg(0, 0, 0); - currentPos = off; zim::offset_type o = off; FilesType::iterator it; -- To view, visit https://gerrit.wikimedia.org/r/314719 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Idd7e392b35dbe36e5d4ee4a03f6119bb01ab4e2e Gerrit-PatchSet: 3 Gerrit-Project: openzim Gerrit-Branch: master Gerrit-Owner: Mgautierfr <mgaut...@kymeria.fr> Gerrit-Reviewer: Kelson <kel...@kiwix.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits