mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0022922: Clean up warnings on uninitialized / unused variables
This commit is contained in:
committed by
bugmaster
parent
25289ec1e1
commit
6e6cd5d949
@@ -218,8 +218,6 @@ Standard_Integer Select3D_SensitiveTriangle::Status(const gp_XY& p0,
|
||||
gp_XY V02(p2);V02-=p0;
|
||||
gp_XY V12(p2);V12-=p1;
|
||||
|
||||
Standard_Real TolTol = aTol*aTol;
|
||||
|
||||
// check these particular cases...
|
||||
// if one of vectors is almost null (2 points are mixed),
|
||||
// leave at once (it is already in the bounding box, which is good...)
|
||||
|
@@ -623,7 +623,6 @@ DetectedTriangle2d(gp_Pnt2d& P1,
|
||||
if(myDetectedTr==-1)
|
||||
return Standard_False; // currently not implemented...
|
||||
const Poly_Array1OfTriangle& triangles = myTriangul->Triangles();
|
||||
const TColgp_Array1OfPnt& Nodes = myTriangul->Nodes();
|
||||
Standard_Integer n1,n2,n3;
|
||||
triangles( myDetectedTr ).Get(n1,n2,n3);
|
||||
|
||||
|
Reference in New Issue
Block a user