0032460: Coding Rules - eliminate CLang warning -Wunused-but-set-variable IR-2021-06-25
authorkgv <kgv@opencascade.com>
Thu, 24 Jun 2021 20:07:37 +0000 (23:07 +0300)
committerkgv <kgv@opencascade.com>
Thu, 24 Jun 2021 20:47:45 +0000 (23:47 +0300)
commit73dee811331a959f807c8264d295f05f441c8218
treef49867aac6b99e0c889074671f0c227f65d21fdb
parent503374ad8410c62a6fa335f133ad4099e421f617
0032460: Coding Rules - eliminate CLang warning -Wunused-but-set-variable

Code has been adjusted to suppress -Wunused-but-set-variable warnings.

DRAWEXE.wasm, compiler flags have been moved to linker flags
to eliminiate -Wunused-command-line-argument warnings.
15 files changed:
adm/scripts/wasm_build.bat
samples/webgl/CMakeLists.txt
samples/webgl/main.cpp
src/AdvApp2Var/AdvApp2Var_SysBase.cxx
src/AppCont/AppCont_LeastSquare.cxx
src/BRepTest/BRepTest_BasicCommands.cxx
src/DRAWEXE/CMakeLists.txt
src/Draw/Draw_BasicCommands.cxx
src/GeomPlate/GeomPlate_BuildPlateSurface.cxx
src/IntCurve/IntCurve_IntPolyPolyGen.gxx
src/IntPatch/IntPatch_ImpPrmIntersection.cxx
src/MeshVS/MeshVS_NodalColorPrsBuilder.cxx
src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
src/Standard/Standard_MMgrOpt.cxx
src/XmlMDF/XmlMDF.cxx