From c71733252c1f0421886515dac5b1f981edf352cd Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 19 Dec 2016 10:29:16 +0100 Subject: [PATCH] Fix compiling with LWIP_NOASSERT (and debug/error disabled, too) --- src/api/sockets.c | 2 -- 1 file changed, 2 deletions(-) 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) {