mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 11:42:17 +01:00
Avoid unreachable code warning
This commit is contained in:
@@ -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.;
|
||||
|
||||
Reference in New Issue
Block a user