diff options
author | David Robillard <d@drobilla.net> | 2011-06-11 18:05:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-11 18:05:56 +0000 |
commit | 6201df44e0187cb0606aaf1b9858c099db2a93c6 (patch) | |
tree | 15ee10e09967fbc9d85b7503ca306c812ac2bace /src/client | |
parent | 15611d1f9d7a6aba34b70ccaf63f564d565b55f3 (diff) | |
download | ingen-6201df44e0187cb0606aaf1b9858c099db2a93c6.tar.gz ingen-6201df44e0187cb0606aaf1b9858c099db2a93c6.tar.bz2 ingen-6201df44e0187cb0606aaf1b9858c099db2a93c6.zip |
Remove dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3385 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/NodeModel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/NodeModel.cpp b/src/client/NodeModel.cpp index ff9a92cd..73ee5a5a 100644 --- a/src/client/NodeModel.cpp +++ b/src/client/NodeModel.cpp @@ -140,10 +140,8 @@ NodeModel::add_port(SharedPtr<PortModel> pm) assert(pm->path().is_child_of(path())); assert(pm->parent().get() == this); - Ports::iterator existing = find(_ports.begin(), _ports.end(), pm); - // Store should have handled this by merging the two - assert(existing == _ports.end()); + assert(find(_ports.begin(), _ports.end(), pm) == _ports.end()); _ports.push_back(pm); _signal_new_port.emit(pm); |