From 3bd9deefb7241b0119210a3794e8280d1a18837d Mon Sep 17 00:00:00 2001 From: Frank Mehnert Date: Thu, 20 Mar 2025 10:08:59 +0100 Subject: spawn.h: fix compiler warning about unused variable Avoid the warning by marking the unused parameter appropriately. Signed-off-by: Marcus Haehnel --- include/spawn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/spawn.h') 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; } -- cgit v1.2.3