summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r--src/PatchageCanvas.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index 976ab73..cbee58b 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -121,11 +121,6 @@ void
PatchageCanvas::remove_port(const PortID& id)
{
PatchagePort* const port = find_port(id);
- if (!port) {
- _app->error_msg((format("Failed to find port with ID `%1' to remove.")
- % id).str());
- }
-
_port_index.erase(id);
delete port;
}