1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-27 15:08:39 +01:00

fixed an "used uninitialized" warning in VampEffect.cpp

This commit is contained in:
andheh
2018-02-15 16:01:20 +01:00
committed by James Crook
parent 6a85577389
commit 84016716f0

View File

@@ -274,7 +274,7 @@ bool VampEffect::SetAutomationParameters(CommandParameters & parms)
!mParameters[p].valueNames.empty()) !mParameters[p].valueNames.empty())
{ {
wxArrayString choices; wxArrayString choices;
int val; int val = 0;
for (size_t i = 0, cnt = mParameters[p].valueNames.size(); i < cnt; i++) for (size_t i = 0, cnt = mParameters[p].valueNames.size(); i < cnt; i++)
{ {