From 561acbc0fb6ac5ca0330218f7eed8fda6d1b4a17 Mon Sep 17 00:00:00 2001 From: Gordon JC Pearce Date: Wed, 11 Sep 2024 19:57:11 +0100 Subject: [PATCH] fix uninitialised variable --- plugin/chassis.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/chassis.hpp b/plugin/chassis.hpp index 381a1a3..bc4ba41 100644 --- a/plugin/chassis.hpp +++ b/plugin/chassis.hpp @@ -101,7 +101,7 @@ class Chassis : public Plugin { double sampleRate; uint32_t lastEvent; // Voice voice[NUM_VOICES]; - uint8_t vPtr; + uint8_t vPtr = 0; Synth s;