These warnings fix a class of warnings that I saw during CI checks for macOS sim builds. For example:
devif/devif_callback.c:111:49: warning: for loop has empty body [-Wempty-body]
prev = curr, curr = curr->nxtdev);
^
devif/devif_callback.c:111:49: note: put the semicolon on a separate line to silence this warning
I did not put the semi-colon on a separate line, but used braces.
|
||
|---|---|---|
| .. | ||
| devif.h | ||
| devif_callback.c | ||
| devif_forward.c | ||
| devif_initialize.c | ||
| devif_iobsend.c | ||
| devif_loopback.c | ||
| devif_pktsend.c | ||
| devif_poll.c | ||
| devif_send.c | ||
| ipv4_input.c | ||
| ipv6_input.c | ||
| Make.defs | ||