diff options
author | Regina Pfeifer <regina@mailbox.org> | 2018-12-13 18:41:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-15 16:40:25 (GMT) |
commit | 414aa6c81ec62ab2f728fab31aa189ce674484a4 (patch) | |
tree | 0b70c8ae470b1cfebd205af33754bf577c3b277d /Source/cmQtAutoGenInitializer.cxx | |
parent | d4a42dd4a87c9caa222a7a40150db937258698d2 (diff) | |
download | CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.zip CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.tar.gz CMake-414aa6c81ec62ab2f728fab31aa189ce674484a4.tar.bz2 |
clang-tidy: Simplify boolean expressions
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r-- | Source/cmQtAutoGenInitializer.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index e4d2c82..5ac080a 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -1231,11 +1231,7 @@ bool cmQtAutoGenInitializer::SetupCustomTargets() } // Write AUTORCC info files - if (this->Rcc.Enabled && !this->SetupWriteRccInfo()) { - return false; - } - - return true; + return !this->Rcc.Enabled || this->SetupWriteRccInfo(); } bool cmQtAutoGenInitializer::SetupWriteAutogenInfo() |