mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
avoid unused variables in release mode
This commit is contained in:
parent
0ead748d34
commit
2712d2bac8
@ -54,10 +54,12 @@ namespace
|
|||||||
{
|
{
|
||||||
B_BOTTOM=0, B_RIGHT, B_TOP, B_LEFT, B_FRONT, B_BACK, NB_BLOCK_SIDES
|
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
|
const char* SBoxSides[] = //!< names of block sides
|
||||||
{
|
{
|
||||||
"BOTTOM", "RIGHT", "TOP", "LEFT", "FRONT", "BACK", "UNDEFINED"
|
"BOTTOM", "RIGHT", "TOP", "LEFT", "FRONT", "BACK", "UNDEFINED"
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
enum EQuadEdge //!< edges of quadrangle side
|
enum EQuadEdge //!< edges of quadrangle side
|
||||||
{
|
{
|
||||||
Q_BOTTOM = 0, Q_RIGHT, Q_TOP, Q_LEFT, NB_QUAD_SIDES
|
Q_BOTTOM = 0, Q_RIGHT, Q_TOP, Q_LEFT, NB_QUAD_SIDES
|
||||||
|
Loading…
Reference in New Issue
Block a user