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:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user