mirror of https://github.com/mongodb/mongo
SERVER-114660 initialize empty struct to silence coverity (#45003)
GitOrigin-RevId: fefa989d90d5bc4e1c70d55fcc2883389a721cbb
This commit is contained in:
parent
bd070b078f
commit
69b16ce6d2
|
|
@ -223,7 +223,7 @@ public:
|
|||
private:
|
||||
struct Empty {};
|
||||
MONGO_COMPILER_NO_UNIQUE_ADDRESS std::conditional_t<kDebugBuild, std::bitset<N>, Empty>
|
||||
_hasField;
|
||||
_hasField{};
|
||||
};
|
||||
|
||||
void handleMissingRequiredFields(const auto& hasMembers,
|
||||
|
|
|
|||
Loading…
Reference in New Issue