diff options
author | Carl Hetherington <carl@carlh.net> | 2011-07-02 17:16:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-07-02 17:16:46 +0000 |
commit | cd17e05e3a22614387050736c89a4727c4da0d61 (patch) | |
tree | f224ba7c78d83a9abc5d1c8ecf7bedb31005ed74 /libs/ardour/audio_playlist.cc | |
parent | c03ea1fdb307fadff2b3c3f837426f1039bf5b10 (diff) |
Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_playlist.cc')
-rw-r--r-- | libs/ardour/audio_playlist.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libs/ardour/audio_playlist.cc b/libs/ardour/audio_playlist.cc index 0c9fd4f314..70cd9ec3f5 100644 --- a/libs/ardour/audio_playlist.cc +++ b/libs/ardour/audio_playlist.cc @@ -190,9 +190,6 @@ AudioPlaylist::AudioPlaylist (boost::shared_ptr<const AudioPlaylist> other, fram framecnt_t fade_in = 64; framecnt_t fade_out = 64; - framepos_t position; - framecnt_t len; - frameoffset_t offset; switch (region->coverage (start, end)) { case OverlapNone: @@ -212,9 +209,6 @@ AudioPlaylist::AudioPlaylist (boost::shared_ptr<const AudioPlaylist> other, fram } case OverlapStart: { - position = region->position() - start; - len = end - region->position(); - if (end > region->position() + region->fade_in()->back()->when) fade_in = region->fade_in()->back()->when; //end is after fade-in, preserve the fade-in if (end > region->last_frame() - region->fade_out()->back()->when) @@ -223,10 +217,6 @@ AudioPlaylist::AudioPlaylist (boost::shared_ptr<const AudioPlaylist> other, fram } case OverlapEnd: { - position = 0; - offset = start - region->position(); - len = region->length() - offset; - if (start < region->last_frame() - region->fade_out()->back()->when) //start is before fade-out, preserve the fadeout fade_out = region->fade_out()->back()->when; |