-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Trivial - P5
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
Execution Team 2021-05-17
-
1
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
We have been using the C++ 17 attribute maybe_unused in the server code base for a while now (earliest detected usage was in SERVER-40312 in 4.2). It may be time to retire the MONGO_COMPILER_VARIABLE_UNUSED macro.
https://github.com/mongodb/mongo/search?q=maybe_unused&type=Code
https://github.com/mongodb/mongo/search?q=MONGO_COMPILER_VARIABLE_UNUSED&type=Code
- is related to
-
SERVER-55977 Coverity analysis defect 118057: Unchecked return value
-
- Closed
-