NO-OP: cleanup
* remove unused code * replace "default" to check for switch() enum completeness
This commit is contained in:
parent
f1c29a9324
commit
000d331ea1
@ -1083,7 +1083,6 @@ static void icon_bypass (cairo_t *cr, const int width, const int height, const u
|
|||||||
const double y0 = height * .6;
|
const double y0 = height * .6;
|
||||||
const double r = std::min (x, y) * .75;
|
const double r = std::min (x, y) * .75;
|
||||||
const double o = std::min (x, y) * .275;
|
const double o = std::min (x, y) * .275;
|
||||||
const double ar = std::min (x, y) * .15;
|
|
||||||
const double pt = std::min (x, y) * .125;
|
const double pt = std::min (x, y) * .125;
|
||||||
|
|
||||||
const double dashes[] = { 1, pt };
|
const double dashes[] = { 1, pt };
|
||||||
@ -1326,7 +1325,7 @@ ArdourWidgets::ArdourIcon::render (cairo_t *cr,
|
|||||||
case PowerOnOff: /* unused */
|
case PowerOnOff: /* unused */
|
||||||
icon_on_off (cr, width, height, fg_color);
|
icon_on_off (cr, width, height, fg_color);
|
||||||
break;
|
break;
|
||||||
default:
|
case NoIcon:
|
||||||
rv = false;
|
rv = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user