From 25114fee0e98f9b995b23f682a51fa673afee925 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 1 Apr 2025 14:55:10 -0600 Subject: [PATCH] remove unused call to std::min(), dangling from commit ea0524177 --- gtk2_ardour/editor_summary.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 9acc8786d8..0a98190400 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -280,7 +280,7 @@ EditorSummary::render (Cairo::RefPtr const& ctx, cairo_rectangle } int32_t width = _view_rectangle_x.second - _view_rectangle_x.first; - std::min(8, width); + width = std::min (8, width); cairo_rectangle (cr, _view_rectangle_x.first, 0, width, get_height ()); cairo_set_source_rgba (cr, 1, 1, 1, 0.15); cairo_fill (cr);