|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!
|
|
Author:
{'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}
Message: SERVER-59465 Fix coverity issues in DocumentSourceDensify
Branch: master
https://github.com/mongodb/mongo/commit/c9df76ad4e2f9879cc5cb8ed371f36d2065acccc
|
|
Yeah – for example, StringData does this in one of its tagged constructors:
/** Tag used to bypass the invariant of the {c,len} constructor. */
|
struct TrustedInitTag {};
|
constexpr StringData(const char* c, size_t len, TrustedInitTag) : _data(c), _size(len) {}
|
|
|
This is intentional. Can such parameters really be omitted? Wouldn't that cause a compiler error?
|
|
This is for both the Full and Partition parameters in the visitors. (There's a separate Coverity ticket for each, but combined them both here.) If the parameters are meant to be ignored, I'd prefer to omit the parameter name to suppress these warnings.
|
Generated at Thu Feb 08 05:47:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.