Fix warning (pointless comparison).
git-svn-id: svn://localhost/ardour2/branches/3.0@4986 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user