summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-27 00:29:08 +0000
committerDavid Robillard <d@drobilla.net>2012-07-27 00:29:08 +0000
commit3ffafb3fad3f06f735d91048ed36abd25c514d7a (patch)
tree438b663bde045e3411cdf111d35aaf4d9ba41b6f /src/server
parent4be36c5ce657bb865f3ff2284c477b727c2ec2c9 (diff)
downloadingen-3ffafb3fad3f06f735d91048ed36abd25c514d7a.tar.gz
ingen-3ffafb3fad3f06f735d91048ed36abd25c514d7a.tar.bz2
ingen-3ffafb3fad3f06f735d91048ed36abd25c514d7a.zip
Silence invalid control binding error message.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4564 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/ControlBindings.cpp2
1 files changed, 1 insertions, 1 deletions
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;