1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-22 04:50:06 +00:00

variable redefinition in poll() path

This commit is contained in:
CPunch 2022-03-14 00:33:23 -05:00
parent 0fc94802b1
commit 1d7efeba24

View File

@ -96,7 +96,6 @@ void laikaP_rmvSock(struct sLaika_pollList *pList, struct sLaika_socket *sock) {
LAIKA_WARN("epoll_ctl [DEL] failed\n"); LAIKA_WARN("epoll_ctl [DEL] failed\n");
} }
#else #else
int i;
/* search fds for socket, remove it and shrink array */ /* search fds for socket, remove it and shrink array */
for (i = 0; i < pList->fdCount; i++) { for (i = 0; i < pList->fdCount; i++) {