You can add a simpler statement in such case:

#ifndef LWIP_NOASSERT
(void)err;
#endif

Regards,
Ajay Bhargav
www.8051projects.net

From: Nirav Desai
Sent: Monday, December 19, 2016 2:29 PM
To: lwip-de...@nongnu.org
Cc: lwip-users@nongnu.org
Subject: [lwip-users] LWIP : Get rid of warnings when LWIP_NOASSERT is on

​Hello,
I use LWIP in professional capacity.
Here I face a common warning due ot a varialble defined in file viz. pbuf.c 
When LWIP Asserts  are off compilation warning is seen.

Please find attached a patch which helps get rid of this warning.
Please let me know if this can be pulled in man stream.



Thanks & Best Regards,
Nirav

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to