changeset 859:d282967236d5

Avoid complaint about unused return value
author Chris Cannam
date Wed, 03 Sep 2014 13:12:38 +0100
parents ae4f58d9db84
children 4a5d144bd5d0 59a22f3bf86d
files layer/WaveformLayer.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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 =