← Back to team overview

touch-packages team mailing list archive

[Bug 1358625] Re: Mir FTBFS in release mode: scroll.cpp: variable ‘rc’ set but not used

 

** Changed in: mir
    Milestone: 0.7.0 => 0.8.0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1358625

Title:
  Mir FTBFS in release mode: scroll.cpp: variable ‘rc’ set but not used

Status in Mir:
  Fix Committed
Status in Mir 0.7 series:
  Fix Committed
Status in “mir” package in Ubuntu:
  Triaged

Bug description:
  Mir fails to build in release mode:

  cmake .. -DCMAKE_BUILD_TYPE=RELEASE
  make

  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1358625/+subscriptions