summaryrefslogtreecommitdiff
path: root/src/mongo/platform/compiler_gcc.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-05-05 09:54:47 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-05 14:36:50 +0000
commit509c3958e7e3fa57e6d2aeb359bd9130318b74ba (patch)
treec1955c8d166ac19acb6d3eb9c548c119cf8a2ad7 /src/mongo/platform/compiler_gcc.h
parentf8ff063b74db74dc473fc5a49eb798976ac81b6a (diff)
downloadmongo-509c3958e7e3fa57e6d2aeb359bd9130318b74ba.tar.gz
SERVER-56585 remove MONGO_COMPILER_VARIABLE_UNUSED macro
This macro is no longer necessary now that we have [[maybe_unused]].
Diffstat (limited to 'src/mongo/platform/compiler_gcc.h')
-rw-r--r--src/mongo/platform/compiler_gcc.h2
1 files changed, 0 insertions, 2 deletions
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)))