Mgautierfr has uploaded a new change for review.
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(-)
git pull ssh://gerrit.wikimedia.org:29418/openzim refs/changes/19/314719/1
diff --git a/zimlib/include/zim/fstream.h b/zimlib/include/zim/fstream.h
index 970920e..8f4966b 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 b925fc5..1749801 100644
--- a/zimlib/src/fstream.cpp
+++ b/zimlib/src/fstream.cpp
@@ -263,7 +263,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: newchange
Gerrit-Change-Id: Idd7e392b35dbe36e5d4ee4a03f6119bb01ab4e2e
Gerrit-PatchSet: 1
Gerrit-Project: openzim
Gerrit-Branch: master
Gerrit-Owner: Mgautierfr <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits