WaE: declaration of 'pTop' shadows a previous local

This commit is contained in:
David Tardon 2012-03-07 18:49:05 +01:00
parent 050228bcba
commit 4171bfefa7

View file

@ -771,9 +771,9 @@ sal_Bool FileStat::Update( const DirEntry& rDirEntry, sal_Bool bForceAccess )
}
// UNC-Volume?
DirEntry *pTop = aAbsEntry.ImpGetTopPtr();
if ( pTop->GetFlag() == FSYS_FLAG_ABSROOT &&
( pTop->aName.getLength() > 1 && (pTop->aName[1] != ':' )) )
DirEntry *pTop2 = aAbsEntry.ImpGetTopPtr();
if ( pTop2->GetFlag() == FSYS_FLAG_ABSROOT &&
( pTop2->aName.getLength() > 1 && (pTop2->aName[1] != ':' )) )
{
if ( bForceAccess )
{