NDEBUG constant used only in EDITOR.
Fixes: similar/main/render.cpp:128:36: error: unused variable 'Show_only_curside'
This commit is contained in:
parent
e8cd69f0f4
commit
a02d0cffb5
|
@ -125,7 +125,9 @@ static const int _search_mode = 0;
|
||||||
|
|
||||||
#ifdef NDEBUG //if no debug code, set these vars to constants
|
#ifdef NDEBUG //if no debug code, set these vars to constants
|
||||||
|
|
||||||
|
#ifdef EDITOR
|
||||||
const int Show_only_curside = 0;
|
const int Show_only_curside = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue