Mir

Comment 0 for bug 1358625

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

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*)’:
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?