summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-25 14:31:29 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-25 14:31:29 (GMT)
commit33e865c041d95e383ce7e843a1a785cda78d13b7 (patch)
tree1d4f8014232a0ce4f6446123f472de6dc0d52751 /Source/cmCacheManager.cxx
parent04fc897536fea61b548f06c21efca55db755a7e2 (diff)
downloadCMake-33e865c041d95e383ce7e843a1a785cda78d13b7.zip
CMake-33e865c041d95e383ce7e843a1a785cda78d13b7.tar.gz
CMake-33e865c041d95e383ce7e843a1a785cda78d13b7.tar.bz2
ENH: Add unset() command.
This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507.
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index bd95354..52cb448 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -714,10 +714,6 @@ void cmCacheManager::RemoveCacheEntry(const char* key)
{
this->Cache.erase(i);
}
- else
- {
- std::cerr << "Failed to remove entry:" << key << std::endl;
- }
}