]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
avoid unused variables in release mode
authoreap <eap@opencascade.com>
Wed, 18 Aug 2010 11:06:29 +0000 (11:06 +0000)
committereap <eap@opencascade.com>
Wed, 18 Aug 2010 11:06:29 +0000 (11:06 +0000)
src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx

index b4172bf278bd7ac77dd3548b7ece3977726653af..e7409c1089b1c5b8473a7f9db0244cc442cf283b 100644 (file)
@@ -54,10 +54,12 @@ namespace
     {
       B_BOTTOM=0, B_RIGHT, B_TOP, B_LEFT, B_FRONT, B_BACK, NB_BLOCK_SIDES
     };
+#ifdef _DEBUG_ // avoid unused variables in release mode
   const char* SBoxSides[] = //!< names of block sides
     {
       "BOTTOM", "RIGHT", "TOP", "LEFT", "FRONT", "BACK", "UNDEFINED"
     };
+#endif
   enum EQuadEdge //!< edges of quadrangle side
     {
       Q_BOTTOM = 0, Q_RIGHT, Q_TOP, Q_LEFT, NB_QUAD_SIDES