plugins/{Mfcc,MelEnergy}.cpp: add unused attribute to avoid compilation warning
authorPaul Brossier <piem@piem.org>
Tue, 3 Feb 2015 09:25:34 +0000 (10:25 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 3 Feb 2015 09:25:34 +0000 (10:25 +0100)
plugins/MelEnergy.cpp
plugins/Mfcc.cpp

index 40f9aeb..a69b8be 100644 (file)
@@ -197,7 +197,7 @@ MelEnergy::getOutputDescriptors() const
 
 MelEnergy::FeatureSet
 MelEnergy::process(const float *const *inputBuffers,
-               Vamp::RealTime timestamp)
+               __attribute__((unused)) Vamp::RealTime timestamp)
 {
     FeatureSet returnFeatures;
 
index 4460df5..fa632e7 100644 (file)
@@ -208,7 +208,7 @@ Mfcc::getOutputDescriptors() const
 
 Mfcc::FeatureSet
 Mfcc::process(const float *const *inputBuffers,
-               Vamp::RealTime timestamp)
+               __attribute__((unused)) Vamp::RealTime timestamp)
 {
     FeatureSet returnFeatures;