diff src/vamp-hostsdk/PluginSummarisingAdapter.cpp @ 385:632d90c185ec

Fix some compiler warnings
author Chris Cannam
date Thu, 16 Oct 2014 10:50:20 +0100
parents d5c5a52e6c9f
children b7268e8bd292 a13635e9c440
line wrap: on
line diff
--- a/src/vamp-hostsdk/PluginSummarisingAdapter.cpp	Thu Oct 16 10:50:12 2014 +0100
+++ b/src/vamp-hostsdk/PluginSummarisingAdapter.cpp	Thu Oct 16 10:50:20 2014 +0100
@@ -220,8 +220,7 @@
 }
 
 bool
-PluginSummarisingAdapter::Impl::initialise(size_t channels,
-                                           size_t stepSize, size_t blockSize)
+PluginSummarisingAdapter::Impl::initialise(size_t, size_t stepSize, size_t blockSize)
 {
     m_stepSize = stepSize;
     m_blockSize = blockSize;
@@ -451,7 +450,7 @@
 PluginSummarisingAdapter::Impl::accumulate(int output,
                                            const Feature &f,
                                            RealTime timestamp,
-                                           bool final)
+                                           bool /* final */)
 {
     // What should happen if a feature's duration spans a segment
     // boundary?  I think we probably want to chop it, and pretend