From eadc2192c576bdfc3902bb4f08f3baf4909b97b8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 Jan 2012 20:48:01 +0000 Subject: Remove unused variable. git-svn-id: svn://localhost/ardour2/branches/3.0@11338 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/tempo.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libs/ardour/tempo.cc') 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; -- cgit v1.2.3