From 0634dcfbc4e4ad28dceb7d2bf3e2bce16313f36c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 29 Oct 2021 16:22:30 -0600 Subject: [PATCH] remove some unused code (left over from before RippleAll) --- libs/ardour/playlist.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index 7184b1ce8e..e4c9a06f1c 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -1617,16 +1617,6 @@ Playlist::region_bounds_changed (const PropertyChange& what_changed, boost::shar if (what_changed.contains (Properties::position) || what_changed.contains (Properties::length)) { - timecnt_t delta; - - if (what_changed.contains (Properties::position)) { - delta = region->last_position().distance (region->position()); - } - - if (what_changed.contains (Properties::length)) { - delta += region->length() - region->last_length(); - } - if (holding_state ()) { pending_bounds.push_back (region); } else {