mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
fix optimized unused variable warning
This commit is contained in:
parent
26d2c8a7fa
commit
ebb9d3d4dc
1 changed files with 4 additions and 1 deletions
|
|
@ -112,7 +112,10 @@ Strip::Strip (Surface& s, const std::string& name, int index, const map<Button::
|
|||
}
|
||||
|
||||
for (map<Button::ID,StripButtonInfo>::const_iterator b = strip_buttons.begin(); b != strip_buttons.end(); ++b) {
|
||||
Button* bb = dynamic_cast<Button*> (Button::factory (*_surface, b->first, b->second.base_id + index, b->second.name, *this));
|
||||
#ifndef NDEBUG
|
||||
Button* bb = dynamic_cast<Button*>
|
||||
#endif
|
||||
(Button::factory (*_surface, b->first, b->second.base_id + index, b->second.name, *this));
|
||||
DEBUG_TRACE (DEBUG::US2400, string_compose ("surface %1 strip %2 new button BID %3 id %4 from base %5\n",
|
||||
_surface->number(), index, Button::id_to_name (bb->bid()),
|
||||
bb->id(), b->second.base_id));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue