From 41718517f25b622e447b10d7b33857315b019fce Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Jul 2007 19:02:47 +0000 Subject: Added harsher assertion in hopes of catching bug earlier. git-svn-id: http://svn.drobilla.net/lad/ingen@583 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/QueuedEventSource.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/libs/engine/QueuedEventSource.cpp b/src/libs/engine/QueuedEventSource.cpp index 19bd5880..45eecfb1 100644 --- a/src/libs/engine/QueuedEventSource.cpp +++ b/src/libs/engine/QueuedEventSource.cpp @@ -163,9 +163,7 @@ void QueuedEventSource::_whipped() { QueuedEvent* const ev = _events[_prepared_back]; - - if (!ev) - return; + assert(ev); assert(!ev->is_prepared()); ev->pre_process(); -- cgit v1.2.1