From: eap Date: Wed, 18 Aug 2010 11:06:29 +0000 (+0000) Subject: avoid unused variables in release mode X-Git-Tag: end_translate_resources_09Jul10~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2712d2bac86f270dd76d5c6e975f9702dbe7f837;p=modules%2Fsmesh.git avoid unused variables in release mode --- diff --git a/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx b/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx index b4172bf27..e7409c108 100644 --- a/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx +++ b/src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx @@ -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