mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
nitpick for static analyzers and friends
This commit is contained in:
parent
208dec7231
commit
c4f19a66d9
1 changed files with 5 additions and 0 deletions
|
|
@ -1010,6 +1010,11 @@ meter_render_metrics (Gtk::Widget& w, MeterType type, vector<DataType> types)
|
|||
layout->set_text("mid");
|
||||
layout->get_pixel_size(tw, th);
|
||||
break;
|
||||
default: // DataType::NIL;
|
||||
layout->set_text("");
|
||||
tw = th = 0;
|
||||
assert (0); // not reached
|
||||
break;
|
||||
}
|
||||
if (!background) {
|
||||
c = w.get_style()->get_fg (Gtk::STATE_ACTIVE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue