Fix warning (pointless comparison).

git-svn-id: svn://localhost/ardour2/branches/3.0@4986 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-04-16 15:28:36 +00:00
parent 6f907ad4c0
commit 60eef7dd3e

View file

@ -738,7 +738,7 @@ IO::add_input_port (string source, void* src, DataType type)
{
Glib::Mutex::Lock lm (io_lock);
if (_input_maximum.get(type) >= 0 && n_inputs().get (type) >= _input_maximum.get (type)) {
if (n_inputs().get (type) >= _input_maximum.get (type)) {
return -1;
}