diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-20 23:34:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-20 23:34:15 +0000 |
commit | 9befa88debe08349deb01ebc00b605721865eda4 (patch) | |
tree | 2cb5dce021afb91b92b1cc32fce7c079822990a8 /libs/surfaces/mackie | |
parent | 9cc110f111cacb28ca4cea5a239ac9c0271da4a9 (diff) |
Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@12048 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie')
-rw-r--r-- | libs/surfaces/mackie/strip.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index 64d916a2a9..4f4a96ebdc 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -87,12 +87,14 @@ Strip::Strip (Surface& s, const std::string& name, int index, const map<Button:: _vpot = dynamic_cast<Pot*> (Pot::factory (*_surface, Pot::ID + index, "vpot", *this)); _meter = dynamic_cast<Meter*> (Meter::factory (*_surface, index, "meter", *this)); +#ifndef NDEBUG 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)); DEBUG_TRACE (DEBUG::MackieControl, 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)); } +#endif } Strip::~Strip () |