summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-22 10:17:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 08:58:43 +0200
commit0f347c04bf1305c634b761f92ff487e831bc564c (patch)
treecfa610a2418d1fbfe963c7290a778be3c33ada6c /registry
parentf871d0e7c99d88b55c38a9878f3ef0bfec4eb089 (diff)
loplugin:unusedfields in registry..sax
Change-Id: Ie0e2ecaadb49273cb4e78bc894111523940e7c8e Reviewed-on: https://gerrit.libreoffice.org/39098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry')
-rw-r--r--registry/source/reflread.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx
index de22f988984e..343943516490 100644
--- a/registry/source/reflread.cxx
+++ b/registry/source/reflread.cxx
@@ -861,7 +861,6 @@ class MethodList : public BlopObject
public:
sal_uInt16 m_numOfEntries;
- sal_uInt16 m_numOfMethodEntries;
sal_uInt16 m_numOfParamEntries;
size_t m_PARAM_ENTRY_SIZE;
std::unique_ptr<sal_uInt32[]> m_pIndex;
@@ -874,12 +873,11 @@ public:
{
if ( m_numOfEntries > 0 )
{
- m_numOfMethodEntries = readUINT16(0);
+ readUINT16(0) /* numOfMethodEntries */;
m_numOfParamEntries = readUINT16(sizeof(sal_uInt16));
m_PARAM_ENTRY_SIZE = m_numOfParamEntries * sizeof(sal_uInt16);
} else
{
- m_numOfMethodEntries = 0;
m_numOfParamEntries = 0;
m_PARAM_ENTRY_SIZE = 0;
}