From 5d1ad05cb8c6cdf21471f07a1df3e60118869d1c Mon Sep 17 00:00:00 2001 From: mrdudz Date: Sat, 5 Nov 2022 20:48:53 +0100 Subject: [PATCH] oops --- src/common/attrib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/attrib.h b/src/common/attrib.h index a7935d919..a16b94a3b 100644 --- a/src/common/attrib.h +++ b/src/common/attrib.h @@ -46,7 +46,7 @@ #ifdef __clang__ # define attribute(a) __attribute__(a) -# define ATTR_UNUSED(x) +# define ATTR_UNUSED(x) x # define ATTR_NORETURN __attribute__((analyzer_noreturn)) #elif defined(__GNUC__) # define attribute(a) __attribute__(a) @@ -54,7 +54,7 @@ # define ATTR_NORETURN __attribute__((noreturn)) #else # define attribute(a) -# define ATTR_UNUSED(x) +# define ATTR_UNUSED(x) x # define ATTR_NORETURN #endif