From 509c3958e7e3fa57e6d2aeb359bd9130318b74ba Mon Sep 17 00:00:00 2001 From: Benety Goh Date: Wed, 5 May 2021 09:54:47 -0400 Subject: SERVER-56585 remove MONGO_COMPILER_VARIABLE_UNUSED macro This macro is no longer necessary now that we have [[maybe_unused]]. --- src/mongo/platform/compiler_gcc.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mongo/platform/compiler_gcc.h') diff --git a/src/mongo/platform/compiler_gcc.h b/src/mongo/platform/compiler_gcc.h index 9f9ee2eb48b..555ea6ccfca 100644 --- a/src/mongo/platform/compiler_gcc.h +++ b/src/mongo/platform/compiler_gcc.h @@ -62,8 +62,6 @@ #endif -#define MONGO_COMPILER_VARIABLE_UNUSED __attribute__((__unused__)) - #define MONGO_COMPILER_ALIGN_TYPE(ALIGNMENT) __attribute__((__aligned__(ALIGNMENT))) #define MONGO_COMPILER_ALIGN_VARIABLE(ALIGNMENT) __attribute__((__aligned__(ALIGNMENT))) -- cgit v1.2.1