mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-05 04:07:58 +08:00
Coding - Remove unused code and comments across various files (#968)
- Removed conditional compilation blocks (`#if 0`) that contained unused code in: - BRepTools_Modifier.cxx - AdvApp2Var_Data_f2c.hxx - AdvApp2Var_SysBase_baseinit.cxx - Extrema_FuncExtCS.cxx - Extrema_FuncExtSS.cxx - GeomProjLib.cxx - IntAna_IntLinTorus.cxx - IntAna2d_AnaIntersection_8.cxx - IntAna2d_Outils.cxx - ProjLib_CompProjectedCurve.cxx - ProjLib_ComputeApprox.cxx - ProjLib_ComputeApproxOnPolarSurface.cxx - Cleaned up header files by ensuring proper end-of-file newlines in: - TKBRep_pch.hxx - GeomLib_Tool.hxx - MeshVS_SymmetricPairHasher.hxx - OpenGl_ShaderProgramDumpLevel.hxx - Graphic3d_ToneMappingMethod.hxx
This commit is contained in:
@@ -40,12 +40,6 @@ typedef long int logical;
|
||||
typedef short int shortlogical;
|
||||
typedef char logical1;
|
||||
typedef char integer1;
|
||||
#if 0 /* Adjust for integer*8. */
|
||||
typedef long long longint; /* system-dependent */
|
||||
typedef unsigned long long ulongint; /* system-dependent */
|
||||
#define qbit_clear(a, b) ((a) & ~((ulongint)1 << (b)))
|
||||
#define qbit_set(a, b) ((a) | ((ulongint)1 << (b)))
|
||||
#endif
|
||||
|
||||
#define TRUE_ (1)
|
||||
#define FALSE_ (0)
|
||||
|
||||
@@ -20,10 +20,6 @@ static int init_STBAS()
|
||||
{
|
||||
int ICODE = 0;
|
||||
// allocation tables are now local, so no global initialization is required
|
||||
#if 0
|
||||
// Init du Tableau des allocs
|
||||
AdvApp2Var_SysBase::mainial_();
|
||||
#endif
|
||||
// Init de LEC IBB IMP
|
||||
AdvApp2Var_SysBase::macinit_(&ICODE, &ICODE);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user