mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
Fix bug #51686: pbuf_remove_header: silence unused variable warning
but in another way than the provided patch
This commit is contained in:
parent
e65a388c1f
commit
6209c8d347
@ -593,6 +593,7 @@ pbuf_remove_header(struct pbuf *p, size_t header_size_decrement)
|
||||
|
||||
/* remember current payload pointer */
|
||||
payload = p->payload;
|
||||
LWIP_UNUSED_ARG(payload); /* only used in LWIP_DEBUGF below */
|
||||
|
||||
if (increment_magnitude <= p->len) {
|
||||
/* increase payload pointer */
|
||||
|
Loading…
Reference in New Issue
Block a user