summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/marker.cc')
-rw-r--r--gtk2_ardour/marker.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc
index 9e77d0c9e7..e3330c41fb 100644
--- a/gtk2_ardour/marker.cc
+++ b/gtk2_ardour/marker.cc
@@ -283,10 +283,8 @@ Marker::~Marker ()
delete mark;
delete points;
- if (line) {
- delete line;
- line = 0;
- }
+ delete line;
+ line = 0;
}
void Marker::reparent(ArdourCanvas::Group & parent)