Avoid unreachable code warning

This commit is contained in:
Paul Licameli 2016-09-18 10:46:40 -04:00
parent dcf114426f
commit 54c993c4f5
1 changed files with 1 additions and 1 deletions

View File

@ -1317,8 +1317,8 @@ bool SpectrumAnalyst::Calculate(Algorithm alg, int windowFunc,
}
float mYMin = 1000000, mYMax = -1000000;
switch (alg) {
double scale;
switch (alg) {
case Spectrum:
// Convert to decibels
mYMin = 1000000.;