From 563761c114fa18c73cdb0885277614fa76f636c7 Mon Sep 17 00:00:00 2001 From: 3djc Date: Tue, 9 Jun 2020 08:35:08 +0200 Subject: [PATCH] Silence warning --- companion/src/modeledit/inputs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/modeledit/inputs.cpp b/companion/src/modeledit/inputs.cpp index a5220019e..806de54fc 100644 --- a/companion/src/modeledit/inputs.cpp +++ b/companion/src/modeledit/inputs.cpp @@ -643,7 +643,7 @@ void InputsPanel::cmInputSwapData(int idx1, int idx2) } // move expos up const int offset = i - expoidx; - int expocnt; + int expocnt = 0; for (int j = i; j < CPN_MAX_EXPOS; j++) { ExpoData *ed = &model->expoData[j]; if ((int)ed->chn == idx2) {