From 796f8d48f0ff6434635237038e03f900161ce331 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 4 Feb 2011 06:08:02 +0000 Subject: 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 --- src/engine/ControlBindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.1