Ver Fonte

Merge topic 'clang-analyzer' into release-4.2

742c70a5da autogen: Remove unnecessary nullptr check

Acked-by: Kitware Robot <[email protected]>
Merge-request: !11414
Brad King há 2 meses atrás
pai
commit
ea722c9b0b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Source/cmQtAutoGenInitializer.cxx

+ 1 - 1
Source/cmQtAutoGenInitializer.cxx

@@ -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);
       }
     }