From 192a8b7ec021729c0bbb9aadfa8fe8203f0f51e6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 8 Jul 2019 09:59:14 -0600 Subject: remove unused local variable --- libs/ardour/playlist.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index dfbb24bd15..f80ddf3915 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -1763,7 +1763,6 @@ Playlist::region_changed (const PropertyChange& what_changed, boost::shared_ptr< { PropertyChange our_interests; PropertyChange bounds; - PropertyChange pos_and_length; bool save = false; if (in_set_state || in_flush) { @@ -1778,9 +1777,6 @@ Playlist::region_changed (const PropertyChange& what_changed, boost::shared_ptr< bounds.add (Properties::position); bounds.add (Properties::length); - pos_and_length.add (Properties::position); - pos_and_length.add (Properties::length); - if (what_changed.contains (bounds)) { region_bounds_changed (what_changed, region); save = !(_splicing || _nudging); -- cgit v1.2.3