1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4

Got rid of warning C4100: 'identifier' : unreferenced formal parameter
Got rid of compile errors
This commit is contained in:
omy
2013-07-18 13:09:32 +04:00
parent 92a4955951
commit 35e08fe886
351 changed files with 1092 additions and 991 deletions

View File

@@ -704,7 +704,7 @@ void TopOpeBRep_DSFiller::RemoveUnsharedGeometry(const Handle(TopOpeBRepDS_HData
//function : Checker
//purpose :
//=======================================================================
void TopOpeBRep_DSFiller::Checker(const Handle(TopOpeBRepDS_HDataStructure)& HDS) const
void TopOpeBRep_DSFiller::Checker(const Handle(TopOpeBRepDS_HDataStructure)& /*HDS*/) const
{
// TopOpeBRepDS_Checker C(HDS); // NYI
//#ifdef DEB

View File

@@ -442,7 +442,7 @@ Handle(TopOpeBRepDS_Interference) TopOpeBRep_EdgesFiller::StoreVI(const TopOpeBR
//function : ToRecompute
//purpose :
//=======================================================================
Standard_Boolean TopOpeBRep_EdgesFiller::ToRecompute(const TopOpeBRep_Point2d& P2D,const Handle(TopOpeBRepDS_Interference)& I,const Standard_Integer IEmother)
Standard_Boolean TopOpeBRep_EdgesFiller::ToRecompute(const TopOpeBRep_Point2d& P2D,const Handle(TopOpeBRepDS_Interference)& /*I*/,const Standard_Integer /*IEmother*/)
{
Standard_Boolean b = Standard_True;
Standard_Boolean pointofsegment = P2D.IsPointOfSegment();

View File

@@ -81,16 +81,26 @@ static void SSAVFF(const TopoDS_Shape& F1, const TopoDS_Shape& F2)
cout<<"FacesFiller : "<<name_1<<","<<name_2<<endl;
BRepTools::Write(F1,name_1); BRepTools::Write(F2,name_2);
}
#ifdef DRAW
static void FUN_traceRLine(const TopOpeBRep_LineInter& L)
{
#ifdef DRAW
TCollection_AsciiString ee("Edofline"); ee.Cat(L.Index()); char* eee = ee.ToCString();
DBRep::Set(eee,L.Arc());
#endif
}
}
#else
static void FUN_traceRLine(const TopOpeBRep_LineInter&)
{
//
}
#endif
#ifdef DRAW
static void FUN_traceGLine(const TopOpeBRep_LineInter& L)
#else
static void FUN_traceGLine(const TopOpeBRep_LineInter&)
#endif
{
#ifdef DRAW
TCollection_AsciiString ll("Glineof"); ll.Cat(L.Index()); char* lll = ll.ToCString();

View File

@@ -47,11 +47,14 @@ TopOpeBRep_GeomTool::TopOpeBRep_GeomTool()
//purpose :
//=======================================================================
void TopOpeBRep_GeomTool::MakeCurves
(const Standard_Real min,const Standard_Real max,
(const Standard_Real min,
const Standard_Real max,
const TopOpeBRep_LineInter& L,
const TopoDS_Shape& S1,const TopoDS_Shape& S2,
const TopoDS_Shape& /*S1*/,
const TopoDS_Shape& /*S2*/,
TopOpeBRepDS_Curve& C,
Handle(Geom2d_Curve)& PC1,Handle(Geom2d_Curve)& PC2)
Handle(Geom2d_Curve)& PC1,
Handle(Geom2d_Curve)& PC2)
{
Standard_Boolean IsWalk = Standard_False;
Handle(Geom_Curve) C3D;

View File

@@ -130,11 +130,20 @@ static Standard_Boolean FUNBREP_SameUV(const TopOpeBRep_VPointInter& VP1,
#ifdef DEB
//-------------------------------------------------------------------
void FUNBREP_topokpartDEB
(const Handle(TopOpeBRepDS_Interference)& Ifound,const TopOpeBRepDS_ListOfInterference& DSCIL,const TopOpeBRep_LineInter& L,
const TopOpeBRep_VPointInter& VP,const TopOpeBRepDS_Transition& lasttransLine,
const TopOpeBRepDS_DataStructure& BDS,const TopoDS_Shape& E,const TopoDS_Shape& F,const Standard_Real toluv,
const Standard_Boolean CPIfound,const Standard_Boolean samepar, const Standard_Boolean couture,
const Standard_Real& parline,const TopOpeBRepDS_Transition& transLine)
(const Handle(TopOpeBRepDS_Interference)& /*Ifound*/,
const TopOpeBRepDS_ListOfInterference& DSCIL,
const TopOpeBRep_LineInter& L,
const TopOpeBRep_VPointInter& VP,
const TopOpeBRepDS_Transition& lasttransLine,
const TopOpeBRepDS_DataStructure& /*BDS*/,
const TopoDS_Shape& /*E*/,
const TopoDS_Shape& /*F*/,
const Standard_Real /*toluv*/,
const Standard_Boolean CPIfound,
const Standard_Boolean samepar,
const Standard_Boolean couture,
const Standard_Real& parline,
const TopOpeBRepDS_Transition& transLine)
//-------------------------------------------------------------------
{
Standard_Integer iVP = VP.Index();

View File

@@ -139,7 +139,7 @@ Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextNEWKP() {
static Standard_Boolean TopOpeBRep_contextTOL0 = Standard_False;
Standard_EXPORT void TopOpeBRep_SetcontextTOL0(const Standard_Boolean b) { TopOpeBRep_contextTOL0 = b; }
Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextTOL0(char* str) {
Standard_EXPORT Standard_Boolean TopOpeBRep_GetcontextTOL0(char* /*str*/) {
if (TopOpeBRep_contextTOL0) {
}
return TopOpeBRep_contextTOL0;