From b319aca81a6d978bf8dc22aa2b40592ed6ed10a5 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Thu, 30 Apr 2020 11:53:09 +0300 Subject: [PATCH] LibCore: Do not assert that NonnullRefPtr is non-null Clang complains about this; with the change the next commit is going to make to ASSERT() internals, GCC is going to start to complain as well. --- Libraries/LibCore/EventLoop.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Libraries/LibCore/EventLoop.cpp b/Libraries/LibCore/EventLoop.cpp index 805d2f67b0..272ca0b1d4 100644 --- a/Libraries/LibCore/EventLoop.cpp +++ b/Libraries/LibCore/EventLoop.cpp @@ -331,9 +331,6 @@ void EventLoop::pump(WaitMode mode) for (size_t i = 0; i < events.size(); ++i) { auto& queued_event = events.at(i); -#ifndef __clang__ - ASSERT(queued_event.event); -#endif auto* receiver = queued_event.receiver.ptr(); auto& event = *queued_event.event; #ifdef CEVENTLOOP_DEBUG