diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2021-05-10 11:00:00 -0400 |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2021-05-10 11:44:53 -0400 |
commit | ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0 (patch) | |
tree | 32bc3a55e37750af01a03e90abbd78c9e1b948ff /Source/cmExportFileGenerator.cxx | |
parent | 2ee55f9718264d716eeabc9d61ede6e434443fd1 (diff) | |
download | cmake-ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0.tar.gz |
Source: Remove unnecessary comparisons to nullptr
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r-- | Source/cmExportFileGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx index 0409f97cab..dd611de6b6 100644 --- a/Source/cmExportFileGenerator.cxx +++ b/Source/cmExportFileGenerator.cxx @@ -1229,7 +1229,7 @@ bool cmExportFileGenerator::PopulateExportProperties( return false; } cmProp propertyValue = targetProperties.GetPropertyValue(prop); - if (propertyValue == nullptr) { + if (!propertyValue) { // Asked to export a property that isn't defined on the target. Do not // consider this an error, there's just nothing to export. continue; |