]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
log: remove unused compiler attribute
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 7 Dec 2019 16:40:32 +0000 (17:40 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 7 Dec 2019 16:40:32 +0000 (17:40 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/log.h

index 99cc4680b6aaead5be7a1875d9c4957aaf8ef1fa..1d5d444b4e0c6852655567c117c0f4f726bf9049 100644 (file)
 #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,