summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-11-22 22:51:10 +1100
committernick_m <mainsbridge@gmail.com>2016-11-22 22:51:10 +1100
commit11090b2e01ab0b4cc933566035731b3a9824aba9 (patch)
treeaf4ce80171796c19813a94d20ae0b7f46efb31d9 /libs/ardour
parente7243c0486b8225271d08784c832577a0cfcee46 (diff)
remove set but not used variable in tempo.cc
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/tempo.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index c510731a95..64bcd58f03 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -3511,7 +3511,6 @@ TempoMap::bbt_duration_at (framepos_t pos, const BBT_Time& bbt, int dir)
pos_bbt.bars += 1;
pos_bbt.beats -= divisions;
}
- const framecnt_t music_origin = frame_at_minute (minute_at_bbt_locked (_metrics, BBT_Time (1, 1, 0)));
const framecnt_t pos_bbt_frame = frame_at_minute (minute_at_bbt_locked (_metrics, pos_bbt));
return pos_bbt_frame - pos;