diff options
author | David Robillard <d@drobilla.net> | 2007-07-13 19:02:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-13 19:02:47 +0000 |
commit | 41718517f25b622e447b10d7b33857315b019fce (patch) | |
tree | e1afdb2413a75812fcb6180a257c931fac1c61c1 /src/libs/engine | |
parent | 05f87f09cc493cd58e67a299275cc98a724d9288 (diff) | |
download | ingen-41718517f25b622e447b10d7b33857315b019fce.tar.gz ingen-41718517f25b622e447b10d7b33857315b019fce.tar.bz2 ingen-41718517f25b622e447b10d7b33857315b019fce.zip |
Added harsher assertion in hopes of catching bug earlier.
git-svn-id: http://svn.drobilla.net/lad/ingen@583 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r-- | src/libs/engine/QueuedEventSource.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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(); |