1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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

@@ -488,7 +488,7 @@ OSD_MAllocHook::CollectBySize::~CollectBySize()
//purpose :
//=======================================================================
#define MAX_ALLOC_SIZE 2000000u
#define MAX_ALLOC_SIZE 2000000
const size_t OSD_MAllocHook::CollectBySize::myMaxAllocSize = MAX_ALLOC_SIZE;
void OSD_MAllocHook::CollectBySize::Reset()