From: szy Date: Fri, 14 Sep 2012 13:53:59 +0000 (+0400) Subject: 0023327: There are identical sub-expressions to the left and to the right of the... X-Git-Tag: V6_5_4_beta1~35 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=fc9e20957d02530751cc712b01cddbb0ca680dbc;p=occt.git 0023327: There are identical sub-expressions to the left and to the right of the '&&' operator --- diff --git a/src/TObj/TObj_Model.cxx b/src/TObj/TObj_Model.cxx index bdb65c933b..998a397c7d 100755 --- a/src/TObj/TObj_Model.cxx +++ b/src/TObj/TObj_Model.cxx @@ -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 );