diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-10 11:30:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-10 11:30:33 +0200 |
commit | d33d1e316c2c5ce56be0e931f0c742d00451dc7f (patch) | |
tree | 113b02286b1d472a66c37d3243026e483fede7db /rsc | |
parent | ec3c9a5f7fd04327697d50505ac56fcfbb71ca45 (diff) |
coverity#708799 unused pointer value
Change-Id: I141bb64b5e4e2f8624008f12c9551881e91f4fdb
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index 576745eb876a..d3c979c2c9d0 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 ) { |