From 60eef7dd3e0240367550a274a91ddb498dedcbc2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Apr 2009 15:28:36 +0000 Subject: [PATCH] Fix warning (pointless comparison). git-svn-id: svn://localhost/ardour2/branches/3.0@4986 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/io.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }