From 84016716f0d9b4cd1c7d17eb381566d29dc7c3fd Mon Sep 17 00:00:00 2001 From: andheh <36114788+andheh@users.noreply.github.com> Date: Thu, 15 Feb 2018 16:01:20 +0100 Subject: [PATCH] fixed an "used uninitialized" warning in VampEffect.cpp --- src/effects/vamp/VampEffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/vamp/VampEffect.cpp b/src/effects/vamp/VampEffect.cpp index ae7e4bc56..7c3dba096 100644 --- a/src/effects/vamp/VampEffect.cpp +++ b/src/effects/vamp/VampEffect.cpp @@ -274,7 +274,7 @@ bool VampEffect::SetAutomationParameters(CommandParameters & parms) !mParameters[p].valueNames.empty()) { wxArrayString choices; - int val; + int val = 0; for (size_t i = 0, cnt = mParameters[p].valueNames.size(); i < cnt; i++) {