summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index c05b59f..b047547 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1282,13 +1282,7 @@ bool cmSystemTools::PutEnv(const char* value)
bool cmSystemTools::UnsetEnv(const char* value)
{
-#ifdef _WIN32
- std::string var = value;
- var += "=";
- return cmSystemTools::PutEnv(var.c_str());
-#else
- return unsetenv(value) == 0;
-#endif
+ return false;
}
std::vector<std::string> cmSystemTools::GetEnvironmentVariables()