1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-01 15:43:44 +02:00

bug 2017 'offset' was used uninitialised

This commit is contained in:
Steve Daulton 2018-10-30 15:58:15 +00:00
parent 26abe0255d
commit 4f964c359b

View File

@ -275,7 +275,8 @@ bool EffectNormalize::Process()
// Analysis loop over channels collects offsets and extent
for (auto channel : range) {
float offset, extent2;
float offset = 0;
float extent2 = 0;
bGoodResult =
AnalyseTrack( channel, msg, progress, offset, extent2 );
if ( ! bGoodResult )