From: Christian Brauner Date: Sat, 7 Dec 2019 16:40:32 +0000 (+0100) Subject: log: remove unused compiler attribute X-Git-Tag: lxc-4.0.0~78^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41ad3c906826f1e7b123a6fc5b3cb7e17694d2bd;p=thirdparty%2Flxc.git log: remove unused compiler attribute Signed-off-by: Christian Brauner --- diff --git a/src/lxc/log.h b/src/lxc/log.h index 99cc4680b..1d5d444b4 100644 --- a/src/lxc/log.h +++ b/src/lxc/log.h @@ -26,13 +26,6 @@ #define LXC_LOG_PREFIX_SIZE 32 #define LXC_LOG_BUFFER_SIZE 4096 -/* This attribute is required to silence clang warnings */ -#if defined(__GNUC__) -#define ATTR_UNUSED __attribute__ ((unused)) -#else -#define ATTR_UNUSED -#endif - /* predefined lxc log priorities. */ enum lxc_loglevel { LXC_LOG_LEVEL_TRACE,