try to satisfy clang's '-Wempty-body'

This commit is contained in:
goldsimon 2017-03-17 11:22:30 +01:00
parent dffb75c5fa
commit aef2accfa3

View File

@ -931,7 +931,9 @@ netif_loop_output(struct netif *netif, struct pbuf *p)
netif_poll(). */
/* 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);
if (netif->loop_first != NULL) {