summaryrefslogtreecommitdiffstats
path: root/src/PatchageEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-18 21:20:46 +0000
committerDavid Robillard <d@drobilla.net>2010-12-18 21:20:46 +0000
commit16eff67d8163615afd80053d973facdbc530f5da (patch)
tree11df9e4c23a95680b7809994fd16520bb9d43e45 /src/PatchageEvent.cpp
parent83d4890ff4e267bc9a99cb3b560204169dabbc02 (diff)
downloadpatchage-16eff67d8163615afd80053d973facdbc530f5da.tar.gz
patchage-16eff67d8163615afd80053d973facdbc530f5da.tar.bz2
patchage-16eff67d8163615afd80053d973facdbc530f5da.zip
Remove previously committed warning, which isn't always a problem... :/
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2768 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageEvent.cpp')
-rw-r--r--src/PatchageEvent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/PatchageEvent.cpp b/src/PatchageEvent.cpp
index 520b136..11e56f7 100644
--- a/src/PatchageEvent.cpp
+++ b/src/PatchageEvent.cpp
@@ -96,8 +96,7 @@ PatchageEvent::execute(Patchage* patchage)
// No empty modules (for now)
if (module->num_ports() == 0) {
- if (!patchage->canvas()->remove_item(module))
- Raul::error << "Failed to remove module `" << module->name() << "'" << endl;
+ patchage->canvas()->remove_item(module)
module.reset();
} else {
patchage->enqueue_resize(module);