changeset 116:97ffda1a7342

plugins/{Mfcc,MelEnergy}.cpp: add unused attribute to avoid compilation warning
author Paul Brossier <piem@piem.org>
date Tue, 03 Feb 2015 10:25:34 +0100
parents 75b436b9cf2f
children 0127ded40575
files plugins/MelEnergy.cpp plugins/Mfcc.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/MelEnergy.cpp	Tue Feb 03 10:25:08 2015 +0100
+++ b/plugins/MelEnergy.cpp	Tue Feb 03 10:25:34 2015 +0100
@@ -197,7 +197,7 @@
 
 MelEnergy::FeatureSet
 MelEnergy::process(const float *const *inputBuffers,
-               Vamp::RealTime timestamp)
+               __attribute__((unused)) Vamp::RealTime timestamp)
 {
     FeatureSet returnFeatures;
 
--- a/plugins/Mfcc.cpp	Tue Feb 03 10:25:08 2015 +0100
+++ b/plugins/Mfcc.cpp	Tue Feb 03 10:25:34 2015 +0100
@@ -208,7 +208,7 @@
 
 Mfcc::FeatureSet
 Mfcc::process(const float *const *inputBuffers,
-               Vamp::RealTime timestamp)
+               __attribute__((unused)) Vamp::RealTime timestamp)
 {
     FeatureSet returnFeatures;