diff --git a/src/api/sockets.c b/src/api/sockets.c index d49e6416..24b3b5fa 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -1214,9 +1214,7 @@ lwip_socket(int domain, int type, int protocol) struct netconn *conn; int i; -#if !LWIP_IPV6 LWIP_UNUSED_ARG(domain); /* @todo: check this */ -#endif /* LWIP_IPV6 */ /* create a netconn */ switch (type) {