0024168: Eliminate CLang compiler warning -Wunused-variable
authoromy <omy@opencascade.com>
Wed, 11 Sep 2013 12:52:16 +0000 (16:52 +0400)
committerabv <abv@opencascade.com>
Wed, 18 Sep 2013 07:27:33 +0000 (11:27 +0400)
commit295cb05393b3fa7d0cfa74984dbeb6115d124a25
treeb86b6c98aabb78c0b71764d8f0adecf0c00a6ad4
parent74d80fb9766a2e7527ebd7b2e1d590433b306ebe
0024168: Eliminate CLang compiler warning -Wunused-variable

Got rid of warning -Wunused-variable

In FSD_File, use template specialization instead of comparison of sizeof() to specific value in if statement, thus eliminating warning "constant value in conditional expression"
16 files changed:
src/FSD/FSD_FileHeader.hxx
src/GeomPlate/GeomPlate_BuildPlateSurface.cxx
src/IntCurveSurface/IntCurveSurface_Inter.gxx
src/IntImpParGen/IntImpParGen_Intersector.gxx
src/IntStart/IntStart_SearchOnBoundaries.gxx
src/IntTools/IntTools_EdgeFace.cxx
src/NIS/NIS_View.cxx
src/OSD/OSD_MAllocHook.cxx
src/OpenGl/OpenGl_Window.cxx
src/PLib/PLib.cxx
src/QABugs/QABugs_16.cxx
src/QABugs/QABugs_17.cxx
src/QANewBRepNaming/QANewBRepNaming_BooleanOperationFeat.cxx
src/TopOpeBRep/TopOpeBRep_EdgesIntersector.cxx
src/Visual3d/Visual3d_ViewMapping.cxx
src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx