From ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0 Mon Sep 17 00:00:00 2001 From: Vitaly Stakhovsky Date: Mon, 10 May 2021 11:00:00 -0400 Subject: Source: Remove unnecessary comparisons to nullptr --- Source/cmExportFileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/cmExportFileGenerator.cxx') 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; -- cgit v1.2.1