mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
try to satisfy clang's '-Wempty-body'
This commit is contained in:
parent
dffb75c5fa
commit
aef2accfa3
@ -931,7 +931,9 @@ netif_loop_output(struct netif *netif, struct pbuf *p)
|
|||||||
netif_poll(). */
|
netif_poll(). */
|
||||||
|
|
||||||
/* let last point to the last pbuf in chain r */
|
/* let last point to the last pbuf in chain r */
|
||||||
for (last = r; last->next != NULL; last = last->next);
|
for (last = r; last->next != NULL; last = last->next) {
|
||||||
|
/* nothing to do here, just get to the last pbuf */
|
||||||
|
}
|
||||||
|
|
||||||
SYS_ARCH_PROTECT(lev);
|
SYS_ARCH_PROTECT(lev);
|
||||||
if (netif->loop_first != NULL) {
|
if (netif->loop_first != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user