From 8d58ffb022649fd8a28d2f74845fc8ca5c934029 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sat, 29 Jul 2017 01:48:01 +0200 Subject: Remove attribute(__unused__) usage Just omitting the parameter name is more portable and less to write --- src/common.hh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/common.hh') diff --git a/src/common.hh b/src/common.hh index 53045a9..ed2451d 100644 --- a/src/common.hh +++ b/src/common.hh @@ -7,12 +7,6 @@ # include "config.h" #endif -#if HAVE_VAR_ATTRIBUTE_UNUSED && !defined(__GNUG__) -# define UNUSED(x) __attribute__((unused)) x ## _unused -#else -# define UNUSED(x) /* x ## _unused */ -#endif - #include #endif // COMMON_HH -- cgit v1.2.3-70-g09d2