1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +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

@@ -90,7 +90,7 @@ gp_Pnt2d TestTopOpeDraw_DrawableC2D::Pnt2d() const
//purpose :
//=======================================================================
void TestTopOpeDraw_DrawableC2D::ChangePnt2d(const gp_Pnt2d& P)
void TestTopOpeDraw_DrawableC2D::ChangePnt2d(const gp_Pnt2d&)
{
myText2D = new Draw_Text2D(Pnt2d(),myText,myTextColor);
}

View File

@@ -85,7 +85,7 @@ gp_Pnt TestTopOpeDraw_DrawableC3D::Pnt() const
//function : ChangePnt
//purpose :
//=======================================================================
void TestTopOpeDraw_DrawableC3D::ChangePnt(const gp_Pnt& P)
void TestTopOpeDraw_DrawableC3D::ChangePnt(const gp_Pnt&)
{
myText3D = new Draw_Text3D(Pnt(),myText,myTextColor);
}

View File

@@ -72,7 +72,7 @@ TestTopOpeDraw_DrawableSUR::TestTopOpeDraw_DrawableSUR
const Standard_CString Text,const Draw_Color& TextColor,
const Standard_Integer Nu, const Standard_Integer Nv,
const Standard_Integer Disc, const Standard_Real Defl, const Standard_Integer DMode,
const Standard_Boolean DispOrigin) :
const Standard_Boolean /*DispOrigin*/) :
DrawTrSurf_Surface(S,Nu,Nv,IsoColor,BoundColor,Disc,Defl,DMode)
{
myText = new Draw_Text3D(Pnt(),Text,TextColor);

View File

@@ -227,7 +227,7 @@ static void BoopReadInitFile(Draw_Interpretor& di, const char* filename)
di.EvalFile(filename);
}
static Standard_Integer ttab(Draw_Interpretor& di, Standard_Integer narg, const char** /*a*/) {
static Standard_Integer ttab(Draw_Interpretor& di, Standard_Integer /*narg*/, const char** /*a*/) {
char s[2000]; strcpy(s,"");
Sprintf(s,"%s%s",s,"proc addt {at args} {upvar $at x;set L \"\";addl L [join $args];");
Sprintf(s,"%s%s",s,"foreach l $L {set x([array size x]) $l}};");