examples/scroll.cpp: In function ‘void create_and_run_scroll_surface(MirConnection*)’:
examples/scroll.cpp:56:26: error: variable ‘rc’ set but not used [-Werror=unused-but-set-variable]
int major, minor, n, rc; ^
So I'm wondering; is it a bad thing that we apparently never use release mode?
Mir fails to build in release mode:
Set CMake build type to RELEASE. Then:
examples/ scroll. cpp: In function ‘void create_ and_run_ scroll_ surface( MirConnection* )’: scroll. cpp:56: 26: error: variable ‘rc’ set but not used [-Werror= unused- but-set- variable]
^
examples/
int major, minor, n, rc;
So I'm wondering; is it a bad thing that we apparently never use release mode?