Source: Remove unnecessary comparisons to nullptr

This commit is contained in:
Vitaly Stakhovsky
2021-05-10 11:00:00 -04:00
parent 2ee55f9718
commit ce97b7909b
14 changed files with 40 additions and 43 deletions
+1 -1
View File
@@ -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;