From 284659156d89baef56a043dc94ba6b11fbe8e146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Lled=C3=B3?= Date: Thu, 1 Nov 2018 17:48:52 +0100 Subject: [PATCH] Remove assertion about the end of pollfd array See bug #54933. Signed-off-by: Simon Goldschmidt --- src/api/sockets.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/sockets.c b/src/api/sockets.c index 783dfe87..44cab7ed 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -2304,7 +2304,6 @@ lwip_poll_dec_sockets_used(struct pollfd *fds, nfds_t nfds) /* Go through each struct pollfd in the array. */ for (fdi = 0; fdi < nfds; fdi++) { struct lwip_sock *sock = tryget_socket_unconn_nouse(fds[fdi].fd); - LWIP_ASSERT("socket gone at the end of select", sock != NULL); if (sock != NULL) { done_socket(sock); }