diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-23 09:35:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-23 09:35:36 +0100 |
commit | 1e2078d45161c306f4a8dda97b2ddde57e5e7471 (patch) | |
tree | c48b73fed5f5ce59223d4cd25cefe9717e505757 /rsc | |
parent | e6b1169627a5657d8ed568b1da0c101b27a8d045 (diff) |
-Werror=unused-but-set-variable
Change-Id: I7c0f1e37f3a53dfed09c4e13d10826022b3ca777
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/parser/rscdb.cxx | 3 |
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 && |