From 6fbfcda1e0652f2b91062a8a978525981de347e7 Mon Sep 17 00:00:00 2001 From: andheh <36114788+andheh@users.noreply.github.com> Date: Thu, 22 Mar 2018 09:21:13 +0100 Subject: [PATCH] fixed an "uninitialized use" warning in VSTEffect.cpp --- src/effects/VST/VSTEffect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/effects/VST/VSTEffect.cpp b/src/effects/VST/VSTEffect.cpp index 23607c334..b71fddba9 100644 --- a/src/effects/VST/VSTEffect.cpp +++ b/src/effects/VST/VSTEffect.cpp @@ -3464,8 +3464,8 @@ void VSTEffect::SaveFXB(const wxFileName & fn) wxMemoryBuffer buf; wxInt32 subType; - void *chunkPtr; - int chunkSize; + void *chunkPtr = nullptr; + int chunkSize = 0; int dataSize = 148; wxInt32 tab[8]; int curProg = 0 ; //mProgram->GetCurrentSelection();