From ca8d1bc99b68f39fb24e76ac1a546e7849248771 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 17 Mar 2006 15:33:21 -0500 Subject: [PATCH] ENH: make cmake compile --- Source/cmSystemTools.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index c05b59f1a..b04754740 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 cmSystemTools::GetEnvironmentVariables()