Remove unused variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@11338 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f57da9b00e
commit
eadc2192c5
@ -891,7 +891,6 @@ TempoMap::_extend_map (TempoSection* tempo, MeterSection* meter,
|
|||||||
|
|
||||||
TempoSection* ts;
|
TempoSection* ts;
|
||||||
MeterSection* ms;
|
MeterSection* ms;
|
||||||
double divisions_per_bar;
|
|
||||||
double beat_frames;
|
double beat_frames;
|
||||||
framepos_t bar_start_frame;
|
framepos_t bar_start_frame;
|
||||||
|
|
||||||
@ -903,7 +902,6 @@ TempoMap::_extend_map (TempoSection* tempo, MeterSection* meter,
|
|||||||
bar_start_frame = 0;
|
bar_start_frame = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
divisions_per_bar = meter->divisions_per_bar ();
|
|
||||||
beat_frames = meter->frames_per_grid (*tempo,_frame_rate);
|
beat_frames = meter->frames_per_grid (*tempo,_frame_rate);
|
||||||
|
|
||||||
while (current_frame < end) {
|
while (current_frame < end) {
|
||||||
@ -1004,11 +1002,10 @@ TempoMap::_extend_map (TempoSection* tempo, MeterSection* meter,
|
|||||||
meter->set_frame (current_frame);
|
meter->set_frame (current_frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
divisions_per_bar = meter->divisions_per_bar ();
|
|
||||||
beat_frames = meter->frames_per_grid (*tempo, _frame_rate);
|
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",
|
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;
|
++next_metric;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user