diff options
author | David Robillard <d@drobilla.net> | 2010-12-18 21:20:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-18 21:20:46 +0000 |
commit | 16eff67d8163615afd80053d973facdbc530f5da (patch) | |
tree | 11df9e4c23a95680b7809994fd16520bb9d43e45 /src/PatchageEvent.cpp | |
parent | 83d4890ff4e267bc9a99cb3b560204169dabbc02 (diff) | |
download | patchage-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.cpp | 3 |
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); |