Use of an uninitialized variable
Defect 103532 (STATIC_C)
Checker UNINIT (subcategory none)
File: /src/mongo/s/catalog_cache.cpp
Function mongo::CatalogCache::_getCollectionRoutingInfoAt(mongo::OperationContext *, const mongo::NamespaceString &, boost::optional<mongo::Timestamp>)
/src/mongo/s/catalog_cache.cpp, line: 214
Declaring variable "refreshActionTaken" without initializer.
CollectionRoutingInfoRefreshAction refreshActionTaken;
/src/mongo/s/catalog_cache.cpp, line: 277
Using uninitialized value "refreshActionTaken".
return {CachedCollectionRoutingInfo(nss, dbInfo, std::move(cm)), refreshActionTaken};