summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-01-03 21:13:16 +0000
committerCarl Hetherington <carl@carlh.net>2012-01-03 21:13:16 +0000
commit10d9eaf0bd0f40d5bd272268dbac20908557ad71 (patch)
treee61f47b9f6044f7453fb494bd7e07f7a8b79a7fc /libs
parent2bea7aaca562c8f7825f0cb33f29108522f4d4b2 (diff)
Remove unused variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@11153 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/tempo.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index 177a89b2eb..1f204ef4e0 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -776,7 +776,6 @@ TempoMap::recompute_map (bool reassign_tempo_bbt, framepos_t end)
TempoSection* tempo;
TempoSection* ts;
MeterSection* ms;
- MetricSection* last_metric_section;
double divisions_per_bar;
double beat_frames;
double current_frame;
@@ -814,7 +813,6 @@ TempoMap::recompute_map (bool reassign_tempo_bbt, framepos_t end)
current_frame = 0;
meter->set_frame (0);
tempo->set_frame (0);
- last_metric_section = tempo;
/* assumes that the first meter & tempo are at 1|1|0 */
current.bars = 1;
@@ -871,8 +869,6 @@ TempoMap::recompute_map (bool reassign_tempo_bbt, framepos_t end)
if (next_metric != metrics->end()) {
- bool exact_start_match_required = true;
-
/* no operator >= so invert operator < */
DEBUG_TRACE (DEBUG::TempoMath, string_compose ("now at %1 next metric @ %2\n", current, (*next_metric)->start()));
@@ -916,7 +912,6 @@ TempoMap::recompute_map (bool reassign_tempo_bbt, framepos_t end)
* match this precisely to
* merit a reloop ...
*/
- exact_start_match_required = false;
DEBUG_TRACE (DEBUG::TempoMath, string_compose ("Adjusted last beat to %1\n", current_frame));
} else {
@@ -948,7 +943,6 @@ TempoMap::recompute_map (bool reassign_tempo_bbt, framepos_t end)
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)));
- last_metric_section = *next_metric;
++next_metric;
if (next_metric != metrics->end() && ((*next_metric)->start() == current)) {