Merge topic 'clang-analyzer'

742c70a5da autogen: Remove unnecessary nullptr check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11414
This commit is contained in:
Brad King
2025-11-14 14:40:27 +00:00
committed by Kitware Robot

View File

@@ -1395,7 +1395,7 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
if (this->Uic.Enabled) {
for (auto const& file : this->Uic.UiHeaders) {
this->AddGeneratedSource(file.first, this->Uic);
if (this->GlobalGen && !GlobalGen->IsFastbuild()) {
if (!this->GlobalGen->IsFastbuild()) {
autogenByproducts.push_back(file.second);
}
}