comparison layer/WaveformLayer.cpp @ 859:d282967236d5

Avoid complaint about unused return value
author Chris Cannam
date Wed, 03 Sep 2014 13:12:38 +0100
parents 99f96cacde36
children 4a578a360011
comparison
equal deleted inserted replaced
858:ae4f58d9db84 859:d282967236d5
456 m_model->getSummary(channel, rangeStart, rangeEnd - rangeStart); 456 m_model->getSummary(channel, rangeStart, rangeEnd - rangeStart);
457 457
458 int minChannel = 0, maxChannel = 0; 458 int minChannel = 0, maxChannel = 0;
459 bool mergingChannels = false, mixingChannels = false; 459 bool mergingChannels = false, mixingChannels = false;
460 460
461 getChannelArrangement(minChannel, maxChannel, 461 (void)getChannelArrangement(minChannel, maxChannel,
462 mergingChannels, mixingChannels); 462 mergingChannels, mixingChannels);
463 463
464 if (mergingChannels || mixingChannels) { 464 if (mergingChannels || mixingChannels) {
465 RangeSummarisableTimeValueModel::Range otherRange = 465 RangeSummarisableTimeValueModel::Range otherRange =
466 m_model->getSummary(1, rangeStart, rangeEnd - rangeStart); 466 m_model->getSummary(1, rangeStart, rangeEnd - rangeStart);
467 range.setMax(std::max(range.max(), otherRange.max())); 467 range.setMax(std::max(range.max(), otherRange.max()));