1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-19 06:07:42 +02:00

Avoid unreachable code warning

This commit is contained in:
Paul Licameli 2016-09-18 10:46:40 -04:00
parent dcf114426f
commit 54c993c4f5

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.;