From 3ffafb3fad3f06f735d91048ed36abd25c514d7a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Jul 2012 00:29:08 +0000 Subject: Silence invalid control binding error message. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4564 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/ControlBindings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp index ab018fbc..023f38c1 100644 --- a/src/server/ControlBindings.cpp +++ b/src/server/ControlBindings.cpp @@ -97,7 +97,7 @@ ControlBindings::binding_key(const Raul::Atom& binding) const key = Key(MIDI_NOTE, ((LV2_Atom_Int*)num)->body); } } - } else { + } else if (binding.type()) { Raul::error << "Unknown binding type " << binding.type() << std::endl; } return key; -- cgit v1.2.1