From d71653f0496ff2441cdfea9b9e4e353a83214d27 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Thu, 23 Mar 2017 10:43:58 +0100 Subject: [PATCH] sockets.c: fix compiling in release mode --- src/api/sockets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/sockets.c b/src/api/sockets.c index c264c138..fbba47b8 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -1016,6 +1016,7 @@ lwip_recvfrom_udp_raw(struct lwip_sock *sock, int flags, const struct iovec *iov u16_t buflen, copylen, copied; int i; + LWIP_UNUSED_ARG(dbg_s); LWIP_ERROR("lwip_recvfrom_udp_raw: invalid arguments", (iov != NULL) || (iovcnt <= 0), return ERR_ARG;); if (flags & MSG_DONTWAIT) {