diff 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
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Wed Sep 03 12:11:40 2014 +0100
+++ b/layer/WaveformLayer.cpp	Wed Sep 03 13:12:38 2014 +0100
@@ -458,8 +458,8 @@
     int minChannel = 0, maxChannel = 0;
     bool mergingChannels = false, mixingChannels = false;
 
-    getChannelArrangement(minChannel, maxChannel,
-                          mergingChannels, mixingChannels);
+    (void)getChannelArrangement(minChannel, maxChannel,
+                                mergingChannels, mixingChannels);
 
     if (mergingChannels || mixingChannels) {
         RangeSummarisableTimeValueModel::Range otherRange =