summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenGlobalInitializer.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/cmQtAutoGenGlobalInitializer.cxx
parent2ee55f9718264d716eeabc9d61ede6e434443fd1 (diff)
downloadCMake-ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0.zip
CMake-ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0.tar.gz
CMake-ce97b7909bdd4be78c4be2e2326c5ae3e27a21f0.tar.bz2
Source: Remove unnecessary comparisons to nullptr
Diffstat (limited to 'Source/cmQtAutoGenGlobalInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenGlobalInitializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenGlobalInitializer.cxx b/Source/cmQtAutoGenGlobalInitializer.cxx
index 153cb6d..77fe87e 100644
--- a/Source/cmQtAutoGenGlobalInitializer.cxx
+++ b/Source/cmQtAutoGenGlobalInitializer.cxx
@@ -185,7 +185,7 @@ void cmQtAutoGenGlobalInitializer::GetOrCreateGlobalTarget(
{
cmProp folder =
makefile->GetState()->GetGlobalProperty("AUTOGEN_TARGETS_FOLDER");
- if (folder != nullptr) {
+ if (folder) {
target->SetProperty("FOLDER", *folder);
}
}