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:
Pasukhin Dmitry
2025-12-29 16:58:00 +00:00
committed by GitHub
parent a509566a28
commit f675adaac0
144 changed files with 42 additions and 6085 deletions
@@ -445,24 +445,3 @@ void InternalVerifyPosition(IntRes2d_Transition& T1,
}
//----------------------------------------------------------------------
#if 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define Debug(q) std::cout << "IntRes2d_Intersectionq =" << q << std::endl;
char *DebugPos(const IntRes2d_Position P);
Debug(FirstParam1);
Debug(LastParam1);
Debug(FirstParam2);
Debug(LastParam2);
Debug(PParamOnFirst);
Debug(PParamOnSecond);
std::cout<<" ##### T1 <> Middle ###### "<<DebugPos(T1.PositionOnCurve())<<std::endl;
char *DebugPos(const IntRes2d_Position P) {
if(P==IntRes2d_Middle) return(" Middle ");
if(P==IntRes2d_Head) return(" Head ");
if(P==IntRes2d_End) return(" End ");
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#endif