1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-16 10:08:36 +03:00

0023327: There are identical sub-expressions to the left and to the right of the '&&' operator

This commit is contained in:
szy 2012-09-14 17:53:59 +04:00
parent 7c104885b2
commit fc9e20957d

View File

@ -629,7 +629,7 @@ void TObj_Model::updateBackReferences (const Handle(TObj_Object)& theObject)
if ( theObject.IsNull() ) if ( theObject.IsNull() )
return; return;
Handle(TObj_ObjectIterator) aChildren = theObject->GetChildren(); Handle(TObj_ObjectIterator) aChildren = theObject->GetChildren();
for(;aChildren->More() && aChildren->More(); aChildren->Next()) for(;aChildren->More(); aChildren->Next())
{ {
Handle(TObj_Object) aChild = aChildren->Value(); Handle(TObj_Object) aChild = aChildren->Value();
updateBackReferences( aChild ); updateBackReferences( aChild );