summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-23 09:35:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-23 09:35:36 +0100
commit1e2078d45161c306f4a8dda97b2ddde57e5e7471 (patch)
treec48b73fed5f5ce59223d4cd25cefe9717e505757 /rsc
parente6b1169627a5657d8ed568b1da0c101b27a8d045 (diff)
-Werror=unused-but-set-variable
Change-Id: I7c0f1e37f3a53dfed09c4e13d10826022b3ca777
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/parser/rscdb.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index ff19a3b8b100..b4b31b84ab0c 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -258,13 +258,10 @@ sal_uInt32 RscTypCont::PutSysName( sal_uInt32 nRscTyp, char * pFileName )
{
RscSysEntry *pSysEntry;
RscSysEntry *pFoundEntry = nullptr;
- bool bId1 = false;
for ( size_t i = 0, n = aSysLst.size(); i < n; ++i )
{
pSysEntry = aSysLst[ i ];
- if( pSysEntry->nKey == 1 )
- bId1 = true;
if( !strcmp( pSysEntry->aFileName.getStr(), pFileName ) )
if( pSysEntry->nRscTyp == nRscTyp &&
pSysEntry->nTyp == 0 &&