summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/engine/QueuedEventSource.cpp4
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();