diff options
author | Frank Mehnert <frank.mehnert@kernkonzept.com> | 2025-03-20 10:08:59 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-03-22 09:11:52 +0100 |
commit | 3bd9deefb7241b0119210a3794e8280d1a18837d (patch) | |
tree | de74974292a0b1e8a8fbf729b3cba712759341f9 /include/spawn.h | |
parent | 0ef6b7d204b851771d9c0ffbdbc81bd77f42fb25 (diff) |
spawn.h: fix compiler warning about unused variable
Avoid the warning by marking the unused parameter appropriately.
Signed-off-by: Marcus Haehnel <marcus.haehnel@kernkonzept.com>
Diffstat (limited to 'include/spawn.h')
-rw-r--r-- | include/spawn.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/spawn.h b/include/spawn.h index 3de375b41..cf01639c1 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -103,6 +103,7 @@ int posix_spawnattr_init (posix_spawnattr_t *__attr) static inline int posix_spawnattr_destroy (posix_spawnattr_t *__attr) { + (void)__attr; return 0; } |