From 48afb68f3a6ef5906c90613230d0a82a00ec5c44 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 14 Oct 2020 20:49:34 +0200 Subject: [PATCH] event/SocketEvent: remove assert() from GetScheduledFlags() Fixes regression by commit 7901b04c78b4d235b20053b4c3e2deea8780f825 --- src/event/SocketEvent.hxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/event/SocketEvent.hxx b/src/event/SocketEvent.hxx index 7086c1c0d..28cdf729f 100644 --- a/src/event/SocketEvent.hxx +++ b/src/event/SocketEvent.hxx @@ -120,8 +120,6 @@ public: void Close() noexcept; unsigned GetScheduledFlags() const noexcept { - assert(IsDefined()); - return scheduled_flags; }