From: dpasukhi Date: Mon, 9 Sep 2024 19:14:00 +0000 (+0000) Subject: Coding - Resolving C6319 warning X-Git-Tag: V7_9_0_beta1~165 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=9c6914c3cc7642b508e78a3515415e38cfc68367;p=occt.git Coding - Resolving C6319 warning Use of the comma-operator in a tested expression causes the left argument to be ignored when it has no side-effects. --- diff --git a/src/TopOpeBRep/TopOpeBRep_ProcessSectionEdges.cxx b/src/TopOpeBRep/TopOpeBRep_ProcessSectionEdges.cxx index bbec44f579..d066436fbf 100644 --- a/src/TopOpeBRep/TopOpeBRep_ProcessSectionEdges.cxx +++ b/src/TopOpeBRep/TopOpeBRep_ProcessSectionEdges.cxx @@ -312,7 +312,7 @@ void TopOpeBRep_FacesFiller::ProcessSectionEdges() // ajout des aretes de section dans la DS de shape,connaissant leur rank for (itLES.Initialize(LES),itLOI.Initialize(LOI); - itLES.More(),itLOI.More(); + itLES.More() && itLOI.More(); itLES.Next(),itLOI.Next()) { const TopoDS_Shape& E1 = itLES.Value(); Standard_Integer rE1 = itLOI.Value();