Kaydet (Commit) d33d1e31 authored tarafından Noel Grandin's avatar Noel Grandin

coverity#708799 unused pointer value

Change-Id: I141bb64b5e4e2f8624008f12c9551881e91f4fdb
üst ec3c9a5f
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment