mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
remove compilation warnings
* converting to 'int' from 'double * unused variable 'meshDS'
This commit is contained in:
parent
34a2ac2a66
commit
f46a7af424
@ -758,7 +758,7 @@ bool StdMeshers_Regular_1D::computeInternalParameters(SMESH_Mesh & theMesh,
|
||||
double an = _value[ END_LENGTH_IND ];
|
||||
|
||||
double q = ( an - a1 ) / ( 2 *theLength/( a1 + an ) - 1 );
|
||||
int n = fabs(q) > numeric_limits<double>::min() ? int( 1 + ( an - a1 ) / q ) : 1+theLength/a1;
|
||||
int n = int(fabs(q) > numeric_limits<double>::min() ? ( 1+( an-a1 )/q ) : ( 1+theLength/a1 ));
|
||||
|
||||
double U1 = theReverse ? l : f;
|
||||
double Un = theReverse ? f : l;
|
||||
@ -1033,7 +1033,7 @@ bool StdMeshers_Regular_1D::Evaluate(SMESH_Mesh & theMesh,
|
||||
if ( _hypType == NONE )
|
||||
return false;
|
||||
|
||||
SMESHDS_Mesh * meshDS = theMesh.GetMeshDS();
|
||||
//SMESHDS_Mesh * meshDS = theMesh.GetMeshDS();
|
||||
|
||||
const TopoDS_Edge & EE = TopoDS::Edge(theShape);
|
||||
TopoDS_Edge E = TopoDS::Edge(EE.Oriented(TopAbs_FORWARD));
|
||||
|
Loading…
Reference in New Issue
Block a user