mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 17:58:10 +08:00
c1db9732c5
Add a minimal implementation to suppress warnings when building application code shared with other operating systems. For example: When building with a c++ compiler and GCC 12.2.0, the following warning is emitted: nuttx/include/spawn.h:178:40: warning: statement has no effect [-Wunused-value] 178 | #define posix_spawnattr_destroy(attr) (0)