avoid unused variables in release mode

This commit is contained in:
eap 2010-08-18 11:06:29 +00:00
parent 0ead748d34
commit 2712d2bac8

View 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