1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-08 14:17:06 +03:00

0024607: Fix some GCC compiler warnings

- enumeration value not handled in switch in Aspect_ColorScale.cxx, TNaming_DeltaOnModification.cxx
- comparison between signed and unsigned integer expressions in NIS_Triangulated.cxx, OSD_MAllocHook.cxx, RWStl.cxx
- static function defined or declared but not used in OpenGl_Workspace_2.cxx, ProjLib_ComputeApprox.cxx
This commit is contained in:
abv
2014-02-08 17:26:06 +04:00
committed by apn
parent feb2743f11
commit 8cb69787f2
7 changed files with 56 additions and 57 deletions

View File

@@ -76,6 +76,7 @@ static void LoadNamedShape (TNaming_Builder& B,
B.Generated(NS);
break;
}
case TNaming_REPLACE: // for compatibility
case TNaming_GENERATED :
{
B.Generated(OS,NS);