[Libreoffice-commits] core.git: rsc/source
Noel Grandin
noel at peralex.com
Mon Feb 10 01:47:22 PST 2014
rsc/source/rsc/rsc.cxx | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
New commits:
commit d33d1e316c2c5ce56be0e931f0c742d00451dc7f
Author: Noel Grandin <noel at peralex.com>
Date: Mon Feb 10 11:30:33 2014 +0200
coverity#708799 unused pointer value
Change-Id: I141bb64b5e4e2f8624008f12c9551881e91f4fdb
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index 576745e..d3c979c 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -421,8 +421,6 @@ ERRTYPE RscCompiler :: IncludeParser( sal_uLong lFileKey )
}
else
{
- RscFile * pFNTmp;
- RscDepend * pDep;
RscFileInst aFileInst( pTC, lFileKey, lFileKey, finput );
pFName->bScanned = true;
@@ -432,14 +430,14 @@ ERRTYPE RscCompiler :: IncludeParser( sal_uLong lFileKey )
// Include-Pfad durchsuchen
for ( size_t i = 0, n = pFName->aDepLst.size(); i < n; ++i )
{
- pDep = pFName->aDepLst[ i ];
- pFNTmp = pTC->aFileTab.GetFile( pDep->GetFileKey() );
+ RscDepend * pDep = pFName->aDepLst[ i ];
+ pTC->aFileTab.GetFile( pDep->GetFileKey() );
}
for ( size_t i = 0, n = pFName->aDepLst.size(); i < n; ++i )
{
- pDep = pFName->aDepLst[ i ];
- pFNTmp = pTC->aFileTab.GetFile( pDep->GetFileKey() );
+ RscDepend * pDep = pFName->aDepLst[ i ];
+ RscFile * pFNTmp = pTC->aFileTab.GetFile( pDep->GetFileKey() );
// Kein Pfad und Include Datei
if( pFNTmp && !pFNTmp->bLoaded )
{
More information about the Libreoffice-commits
mailing list