mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Fix warning (pointless comparison).
git-svn-id: svn://localhost/ardour2/branches/3.0@4986 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6f907ad4c0
commit
60eef7dd3e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue