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; }