diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 01:48:01 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-07-29 01:48:01 +0200 |
| commit | 8d58ffb022649fd8a28d2f74845fc8ca5c934029 (patch) | |
| tree | 3ce6d5037e95192401a9490c9d13253101017764 /src/common.hh | |
| parent | c974e4b5df40aec646a60c747f453d11a8e7587c (diff) | |
Remove attribute(__unused__) usage
Just omitting the parameter name is more portable and less to write
Diffstat (limited to 'src/common.hh')
| -rw-r--r-- | src/common.hh | 6 |
1 files changed, 0 insertions, 6 deletions
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 <assert.h> #endif // COMMON_HH |
