diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index 4c197c2ae..7d16e26ce 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -1208,8 +1208,8 @@ bool NyquistEffect::ProcessOne() wxMessageBox(_("Nyquist did not return audio.\n"), wxT("Nyquist"), wxOK | wxCENTRE, mUIParent); - for (i = 0; i < outChannels; i++) { - mOutputTrack[i].reset(); + for (int j = 0; j < outChannels; j++) { + mOutputTrack[j].reset(); } return true; }