1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024169: Eliminate CLang compiler warning -Wunused-value

Got rid of warning -Wunused-value
This commit is contained in:
omy
2013-09-11 17:18:49 +04:00
committed by abv
parent 258ff83bb6
commit b6abaec0c8
4 changed files with 6 additions and 6 deletions

View File

@@ -873,8 +873,9 @@ Standard_Integer Adaptor3d_CurveOnSurface::NbIntervals
// value into myIntervals which will be equal first value.
myIntervals = new TColStd_HArray1OfReal(1,nbpoint);
i=0;
for (It.Initialize(tmpIntervals->Set());It.More();It.Next(),i)
{ i++;
for (It.Initialize(tmpIntervals->Set());It.More();It.Next())
{
++i;
myIntervals->SetValue(i,It.Value());
}
if( i==1 )