1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024635: Eliminate trivial compiler warnings by GCC in Debug mode

This commit is contained in:
abv
2014-02-14 16:03:01 +04:00
committed by apn
parent 03e04ead37
commit 1896126e35
18 changed files with 98 additions and 161 deletions

View File

@@ -59,8 +59,6 @@
#ifdef DRAW
#include <DrawTrSurf.hxx>
#endif
#ifdef DEB
static Standard_Boolean Affich = Standard_False;
static Standard_Integer NBPROJ = 1;
#endif
@@ -83,9 +81,7 @@ Handle(Geom2d_Curve) GeomProjLib::Curve2d(const Handle(Geom_Curve)& C,
{
#ifdef DRAW
if ( Affich) {
//POP pour NT
// char name[100];
char* name = new char[100];
char name[256];
Sprintf(name,"PROJCURV_%d",NBPROJ);
DrawTrSurf::Set(name,C);
Sprintf(name,"PROJSURF_%d",NBPROJ);