diff options
author | David Robillard <d@drobilla.net> | 2009-04-16 15:28:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-04-16 15:28:36 +0000 |
commit | 60eef7dd3e0240367550a274a91ddb498dedcbc2 (patch) | |
tree | 746575297a401756994633de4f13fa75167ef76f /libs | |
parent | 6f907ad4c03c37e9835cddaff13beca85cb9343e (diff) |
Fix warning (pointless comparison).
git-svn-id: svn://localhost/ardour2/branches/3.0@4986 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index e6dff6158a..27555c119e 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -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; } |