Fix compiling with LWIP_NOASSERT (and debug/error disabled, too)

This commit is contained in:
goldsimon 2016-12-19 10:29:16 +01:00
parent e0c0ba7e1b
commit c71733252c

View File

@ -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) {