comparison TempogramPlugin.cpp @ 41:89af6709f562

Fix (the) two errors reported by Coverity Scan
author Chris Cannam
date Fri, 12 Sep 2014 16:00:26 +0100
parents df696e57a150
children d4b74059a005
comparison
equal deleted inserted replaced
40:df696e57a150 41:89af6709f562
190 d5.maxValue = 12; 190 d5.maxValue = 12;
191 d5.defaultValue = d2.defaultValue; 191 d5.defaultValue = d2.defaultValue;
192 d5.isQuantized = true; 192 d5.isQuantized = true;
193 d5.quantizeStep = 1; 193 d5.quantizeStep = 1;
194 for (int i = d5.minValue; i <= d5.maxValue; i++){ 194 for (int i = d5.minValue; i <= d5.maxValue; i++){
195 d4.valueNames.push_back(floatToString(pow((float)2,(float)i))); 195 d5.valueNames.push_back(floatToString(pow((float)2,(float)i)));
196 } 196 }
197 list.push_back(d5); 197 list.push_back(d5);
198 198
199 ParameterDescriptor d6; 199 ParameterDescriptor d6;
200 d6.identifier = "minBPM"; 200 d6.identifier = "minBPM";