remove set but not used variable in tempo.cc
authornick_m <mainsbridge@gmail.com>
Tue, 22 Nov 2016 11:51:10 +0000 (22:51 +1100)
committernick_m <mainsbridge@gmail.com>
Tue, 22 Nov 2016 11:51:10 +0000 (22:51 +1100)
libs/ardour/tempo.cc

index c510731a958371f72666420e5035ecaa65966b63..64bcd58f03917fb74fa9557d5c4bbe7e5e0e2642 100644 (file)
@@ -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;