summaryrefslogtreecommitdiff
path: root/libs/ardour/tempo.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-01-24 20:48:01 +0000
committerCarl Hetherington <carl@carlh.net>2012-01-24 20:48:01 +0000
commiteadc2192c576bdfc3902bb4f08f3baf4909b97b8 (patch)
tree7f5af312f65a44341b268be5c808eda623d1b69f /libs/ardour/tempo.cc
parentf57da9b00e0660640c7a4cbb48f32ef63830d463 (diff)
Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@11338 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/tempo.cc')
-rw-r--r--libs/ardour/tempo.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index 142c6d5108..9a4877c451 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -891,7 +891,6 @@ TempoMap::_extend_map (TempoSection* tempo, MeterSection* meter,
TempoSection* ts;
MeterSection* ms;
- double divisions_per_bar;
double beat_frames;
framepos_t bar_start_frame;
@@ -903,7 +902,6 @@ TempoMap::_extend_map (TempoSection* tempo, MeterSection* meter,
bar_start_frame = 0;
}
- divisions_per_bar = meter->divisions_per_bar ();
beat_frames = meter->frames_per_grid (*tempo,_frame_rate);
while (current_frame < end) {
@@ -1004,11 +1002,10 @@ TempoMap::_extend_map (TempoSection* tempo, MeterSection* meter,
meter->set_frame (current_frame);
}
- divisions_per_bar = meter->divisions_per_bar ();
beat_frames = meter->frames_per_grid (*tempo, _frame_rate);
DEBUG_TRACE (DEBUG::TempoMath, string_compose ("New metric with beat frames = %1 dpb %2 meter %3 tempo %4\n",
- beat_frames, divisions_per_bar, *((Meter*)meter), *((Tempo*)tempo)));
+ beat_frames, meter->divisions_per_bar(), *((Meter*)meter), *((Tempo*)tempo)));
++next_metric;