fix optimized unused variable warning
This commit is contained in:
parent
f78d384281
commit
f1a24fac98
|
@ -198,7 +198,9 @@ MIDIClock_TransportMaster::calculate_filter_coefficients (double qpm)
|
||||||
void
|
void
|
||||||
MIDIClock_TransportMaster::update_midi_clock (Parser& /*parser*/, samplepos_t timestamp)
|
MIDIClock_TransportMaster::update_midi_clock (Parser& /*parser*/, samplepos_t timestamp)
|
||||||
{
|
{
|
||||||
|
#ifndef NDEBUG
|
||||||
samplepos_t elapsed_since_start = timestamp - first_timestamp;
|
samplepos_t elapsed_since_start = timestamp - first_timestamp;
|
||||||
|
#endif
|
||||||
|
|
||||||
calculate_one_ppqn_in_samples_at (current.position);
|
calculate_one_ppqn_in_samples_at (current.position);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user