From 0d1d50a8b442bcaf73ee085a9469c63395b94458 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 15 Apr 2014 14:29:44 -0400 Subject: [PATCH] remove pointless assert (since condition is if-tested just before it was used) --- gtk2_ardour/editor_mouse.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index 5ce8fcd386..928801d0b2 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -2914,8 +2914,6 @@ Editor::set_canvas_cursor_for_region_view (double x, RegionView* rv) return; } - assert (rv); - ArdourCanvas::Group* g = rv->get_canvas_group (); ArdourCanvas::Group* p = g->parent ();