mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
Source: Remove unnecessary comparisons to nullptr
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user