From de410e64b068b93e1b975d4db36213bc01a9d300 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Mon, 31 Dec 2018 17:38:31 -0500 Subject: [PATCH] Initialize Port values --- include/engine/Port.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/engine/Port.hpp b/include/engine/Port.hpp index 2f2f146a..ff5f563a 100644 --- a/include/engine/Port.hpp +++ b/include/engine/Port.hpp @@ -13,7 +13,7 @@ struct Port { /** Voltage of the port */ union { float value; - float values[PORT_MAX_CHANNELS]; + float values[PORT_MAX_CHANNELS] = {}; }; /** Number of polyphonic channels */ int numChannels = 1;