summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/ControlBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/ControlBindings.cpp b/src/engine/ControlBindings.cpp
index 12fcc9b1..73e0e4c7 100644
--- a/src/engine/ControlBindings.cpp
+++ b/src/engine/ControlBindings.cpp
@@ -175,7 +175,7 @@ ControlBindings::control_to_port_value(PortImpl* port, Type type, int16_t value)
float max = port->get_property(uris.lv2_maximum).get_float();
bool toggled = port->has_property(uris.lv2_portProperty, uris.lv2_toggled);
- float normal;
+ float normal = 0.0f;
switch (type) {
case MIDI_CC:
case MIDI_CHANNEL_PRESSURE: