diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-25 17:49:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-26 08:01:42 +0100 |
commit | 51b5b93092d6231615de470c62494c24e54828a1 (patch) | |
tree | 7d1556d834a9f61e0f40f29f318c57328cba67e7 /io | |
parent | b9fe4f26eaf1099b8d0907b8d9cbf52c86914466 (diff) |
remove some unused local vars
found by a more aggressive variant of loplugin:unusedvariables.
This is my first pass, committing the simplest and most obviously
unnecessary vars
Change-Id: I9676a6e39a101937097788548764506c93811c57
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87414
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/omark.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 7623392b4277..0c7a821423f4 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -311,8 +311,6 @@ Reference < XConnectable > OMarkableOutputStream::getPredecessor() void OMarkableOutputStream::checkMarksAndFlush() { - map<sal_Int32,sal_Int32,less<sal_Int32> >::iterator ii; - // find the smallest mark sal_Int32 nNextFound = m_nCurrentPos; for (auto const& mark : m_mapMarks) @@ -731,8 +729,6 @@ Reference< XConnectable > OMarkableInputStream::getPredecessor() void OMarkableInputStream::checkMarksAndFlush() { - map<sal_Int32,sal_Int32,less<sal_Int32> >::iterator ii; - // find the smallest mark sal_Int32 nNextFound = m_nCurrentPos; for (auto const& mark : m_mapMarks) |