summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-04 06:08:02 +0000
committerDavid Robillard <d@drobilla.net>2011-02-04 06:08:02 +0000
commit796f8d48f0ff6434635237038e03f900161ce331 (patch)
tree52b36a869b9b47e4e94db7b9a99572c85498ccff
parent560af40e4d3155f0d4abd3ade16058707fa47462 (diff)
downloadingen-796f8d48f0ff6434635237038e03f900161ce331.tar.gz
ingen-796f8d48f0ff6434635237038e03f900161ce331.tar.bz2
ingen-796f8d48f0ff6434635237038e03f900161ce331.zip
Fix warnings when building with --strict (but without --debug).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2909 a436a847-0d15-0410-975c-d299462d15a1
-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: