diff options
Diffstat (limited to 'Source/cmStateDirectory.cxx')
-rw-r--r-- | Source/cmStateDirectory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStateDirectory.cxx b/Source/cmStateDirectory.cxx index e7de3c7..2ce7530 100644 --- a/Source/cmStateDirectory.cxx +++ b/Source/cmStateDirectory.cxx @@ -641,7 +641,7 @@ const char* cmStateDirectory::GetProperty(const std::string& prop, if (parentSnapshot.IsValid()) { return parentSnapshot.GetDirectory().GetProperty(prop, chain); } - return this->Snapshot_.State->GetGlobalProperty(prop); + retVal = this->Snapshot_.State->GetGlobalProperty(prop); } return retVal ? retVal->c_str() : nullptr; |