cmcmd: Remove some comment copy-pasta.

This commit is contained in:
Stephen Kelly 2015-02-12 22:14:08 +01:00
parent 2d833232a3
commit 2acd04c966
1 changed files with 0 additions and 4 deletions

View File

@ -287,8 +287,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
} }
#if defined(CMAKE_BUILD_WITH_CMAKE) #if defined(CMAKE_BUILD_WITH_CMAKE)
// Command to create a symbolic link. Fails on platforms not
// supporting them.
else if (args[1] == "environment" ) else if (args[1] == "environment" )
{ {
std::vector<std::string> env = cmSystemTools::GetEnvironmentVariables(); std::vector<std::string> env = cmSystemTools::GetEnvironmentVariables();
@ -352,8 +350,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
{ {
for (std::string::size_type cc = 2; cc < args.size(); cc ++) for (std::string::size_type cc = 2; cc < args.size(); cc ++)
{ {
// Complain if the file could not be removed, still exists,
// and the -f option was not given.
if(!cmSystemTools::Touch(args[cc], true)) if(!cmSystemTools::Touch(args[cc], true))
{ {
return 1; return 1;