mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 07:15:20 +00:00
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.
|
||
|---|---|---|
| .. | ||
| Make.defs | ||
| pthread.h | ||
| pthread_cancel.c | ||
| pthread_cleanup.c | ||
| pthread_completejoin.c | ||
| pthread_condbroadcast.c | ||
| pthread_condsignal.c | ||
| pthread_condtimedwait.c | ||
| pthread_condwait.c | ||
| pthread_create.c | ||
| pthread_detach.c | ||
| pthread_exit.c | ||
| pthread_findjoininfo.c | ||
| pthread_get_stackaddr_np.c | ||
| pthread_get_stacksize_np.c | ||
| pthread_getaffinity.c | ||
| pthread_getschedparam.c | ||
| pthread_getspecific.c | ||
| pthread_initialize.c | ||
| pthread_join.c | ||
| pthread_keycreate.c | ||
| pthread_keydelete.c | ||
| pthread_kill.c | ||
| pthread_mutex.c | ||
| pthread_mutexconsistent.c | ||
| pthread_mutexdestroy.c | ||
| pthread_mutexinconsistent.c | ||
| pthread_mutexinit.c | ||
| pthread_mutextimedlock.c | ||
| pthread_mutextrylock.c | ||
| pthread_mutexunlock.c | ||
| pthread_release.c | ||
| pthread_setaffinity.c | ||
| pthread_setschedparam.c | ||
| pthread_setschedprio.c | ||
| pthread_setspecific.c | ||
| pthread_sigmask.c | ||