summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2021-05-10 15:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2021-05-10 15:44:53 (GMT)
commitce97b7909bdd4be78c4be2e2326c5ae3e27a21f0 (patch)
tree32bc3a55e37750af01a03e90abbd78c9e1b948ff /Source/cmExportFileGenerator.cxx
parent2ee55f9718264d716eeabc9d61ede6e434443fd1 (diff)
downloadCMake-ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0.zip
CMake-ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0.tar.gz
CMake-ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0.tar.bz2
Source: Remove unnecessary comparisons to nullptr
Diffstat (limited to 'Source/cmExportFileGenerator.cxx')
-rw-r--r--Source/cmExportFileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.cxx b/Source/cmExportFileGenerator.cxx
index 0409f97..dd611de 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;