diff vamp-sdk/PluginBase.h @ 377:e43186ff8854

Fix some uninitialised members that Coverity otherwise complains about
author Chris Cannam
date Wed, 03 Sep 2014 12:14:39 +0100
parents d5c5a52e6c9f
children
line wrap: on
line diff
--- a/vamp-sdk/PluginBase.h	Thu Aug 07 20:30:36 2014 +0100
+++ b/vamp-sdk/PluginBase.h	Wed Sep 03 12:14:39 2014 +0100
@@ -193,7 +193,11 @@
         std::vector<std::string> valueNames;
 
         ParameterDescriptor() : // the defaults are invalid: you must set them
-            minValue(0), maxValue(0), defaultValue(0), isQuantized(false) { }
+            minValue(0), 
+            maxValue(0), 
+            defaultValue(0), 
+            isQuantized(false),
+            quantizeStep(0) { }
     };
 
     typedef std::vector<ParameterDescriptor> ParameterList;