From 16eff67d8163615afd80053d973facdbc530f5da Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Dec 2010 21:20:46 +0000 Subject: 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 --- src/PatchageEvent.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.1