[Libreoffice-commits] core.git: rsc/source
Stephan Bergmann
sbergman at redhat.com
Wed Mar 23 08:36:13 UTC 2016
rsc/source/parser/rscdb.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 1e2078d45161c306f4a8dda97b2ddde57e5e7471
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Mar 23 09:35:36 2016 +0100
-Werror=unused-but-set-variable
Change-Id: I7c0f1e37f3a53dfed09c4e13d10826022b3ca777
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index ff19a3b..b4b31b8 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 &&
More information about the Libreoffice-commits
mailing list