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:
parent
dcf114426f
commit
54c993c4f5
@ -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.;
|
||||
|
Loading…
x
Reference in New Issue
Block a user