mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
nxsem_init(), nxsem_destroy(), nxmutex_init() and nxmutex_destroy()
always return OK, so checking the result only leaves dead code: the
compiler cannot remove it, because these are cross-translation-unit calls
and the nxrmutex_destroy() test is duplicated into every inlined call
site.
Apply the convention already established in commit
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| nx_bitmap.c | ||
| nx_block.c | ||
| nx_closewindow.c | ||
| nx_connect.c | ||
| nx_constructwindow.c | ||
| nx_cursor.c | ||
| nx_disconnect.c | ||
| nx_eventhandler.c | ||
| nx_eventnotify.c | ||
| nx_fill.c | ||
| nx_filltrapezoid.c | ||
| nx_getposition.c | ||
| nx_getrectangle.c | ||
| nx_kbdchin.c | ||
| nx_kbdin.c | ||
| nx_lower.c | ||
| nx_modal.c | ||
| nx_mousein.c | ||
| nx_move.c | ||
| nx_openwindow.c | ||
| nx_raise.c | ||
| nx_redrawreq.c | ||
| nx_releasebkgd.c | ||
| nx_requestbkgd.c | ||
| nx_setbgcolor.c | ||
| nx_setpixel.c | ||
| nx_setposition.c | ||
| nx_setsize.c | ||
| nx_setvisibility.c | ||
| nx_synch.c | ||
| nxmu_sendserver.c | ||
| nxmu_sendwindow.c | ||