mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
Fix compiling with LWIP_NOASSERT (and debug/error disabled, too)
This commit is contained in:
parent
e0c0ba7e1b
commit
c71733252c
@ -1214,9 +1214,7 @@ lwip_socket(int domain, int type, int protocol)
|
|||||||
struct netconn *conn;
|
struct netconn *conn;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
#if !LWIP_IPV6
|
|
||||||
LWIP_UNUSED_ARG(domain); /* @todo: check this */
|
LWIP_UNUSED_ARG(domain); /* @todo: check this */
|
||||||
#endif /* LWIP_IPV6 */
|
|
||||||
|
|
||||||
/* create a netconn */
|
/* create a netconn */
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user