diff --git a/ports/win32/sys_arch.c b/ports/win32/sys_arch.c index 876899c..84232d5 100644 --- a/ports/win32/sys_arch.c +++ b/ports/win32/sys_arch.c @@ -507,6 +507,7 @@ sys_check_core_locking(void) #else /* LWIP_TCPIP_CORE_LOCKING */ LWIP_ASSERT("Function called from wrong thread", current_thread_id == lwip_tcpip_thread_id); #endif /* LWIP_TCPIP_CORE_LOCKING */ + LWIP_UNUSED_ARG(current_thread_id); /* for LWIP_NOASSERT */ } } #endif /* !NO_SYS */