0023327: There are identical sub-expressions to the left and to the right of the...
authorszy <szy@opencascade.com>
Fri, 14 Sep 2012 13:53:59 +0000 (17:53 +0400)
committerszy <szy@opencascade.com>
Fri, 14 Sep 2012 13:53:59 +0000 (17:53 +0400)
src/TObj/TObj_Model.cxx

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