From 2712d2bac86f270dd76d5c6e975f9702dbe7f837 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 18 Aug 2010 11:06:29 +0000 Subject: [PATCH] avoid unused variables in release mode --- src/StdMeshers/StdMeshers_HexaFromSkin_3D.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2