mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
avoid compilation warnings in release mode
This commit is contained in:
parent
6c81f9a1e5
commit
973402fcd3
@ -682,8 +682,7 @@ SMESH_Hypothesis::Hypothesis_Status
|
|||||||
|
|
||||||
SMESH_Hypothesis *anHyp = sc->mapHypothesis[anHypId];
|
SMESH_Hypothesis *anHyp = sc->mapHypothesis[anHypId];
|
||||||
if(MYDEBUG) {
|
if(MYDEBUG) {
|
||||||
int hypType = anHyp->GetType();
|
SCRUTE(anHyp->GetType());
|
||||||
SCRUTE(hypType);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// shape
|
// shape
|
||||||
|
@ -10991,7 +10991,8 @@ void SMESH_MeshEditor::CreateHoleSkin(double radius,
|
|||||||
double z = nodesCoords[i++];
|
double z = nodesCoords[i++];
|
||||||
gp_Pnt p = gp_Pnt(x, y ,z);
|
gp_Pnt p = gp_Pnt(x, y ,z);
|
||||||
gpnts.push_back(p);
|
gpnts.push_back(p);
|
||||||
MESSAGE("TopoDS_Vertex " << k++ << " " << p.X() << " " << p.Y() << " " << p.Z());
|
MESSAGE("TopoDS_Vertex " << k << " " << p.X() << " " << p.Y() << " " << p.Z());
|
||||||
|
k++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else // --- no group, no coordinates : use the vertices of the geom shape provided, and radius
|
else // --- no group, no coordinates : use the vertices of the geom shape provided, and radius
|
||||||
|
@ -1251,8 +1251,7 @@ void SMESH_subMesh::cleanDependsOn( SMESH_Algo* algoRequiringCleaning/*=0*/ )
|
|||||||
|
|
||||||
void SMESH_subMesh::DumpAlgoState(bool isMain)
|
void SMESH_subMesh::DumpAlgoState(bool isMain)
|
||||||
{
|
{
|
||||||
int dim = SMESH_Gen::GetShapeDim(_subShape);
|
// if (dim < 1) return;
|
||||||
// if (dim < 1) return;
|
|
||||||
if (isMain)
|
if (isMain)
|
||||||
{
|
{
|
||||||
const map < int, SMESH_subMesh * >&subMeshes = DependsOn();
|
const map < int, SMESH_subMesh * >&subMeshes = DependsOn();
|
||||||
@ -1264,8 +1263,9 @@ void SMESH_subMesh::DumpAlgoState(bool isMain)
|
|||||||
sm->DumpAlgoState(false);
|
sm->DumpAlgoState(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int type = _subShape.ShapeType();
|
//int type = _subShape.ShapeType();
|
||||||
MESSAGE("dim = " << dim << " type of shape " << type);
|
MESSAGE("dim = " << SMESH_Gen::GetShapeDim(_subShape) <<
|
||||||
|
" type of shape " << _subShape.ShapeType());
|
||||||
switch (_algoState)
|
switch (_algoState)
|
||||||
{
|
{
|
||||||
case NO_ALGO:
|
case NO_ALGO:
|
||||||
|
Loading…
Reference in New Issue
Block a user