summaryrefslogtreecommitdiff
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-12 22:14:08 +0100
committerStephen Kelly <steveire@gmail.com>2015-02-17 20:18:56 +0100
commit2acd04c96624ce530edcb0ca991bddad7f70023e (patch)
treefbd00bc627478a0ff82558dc076e858657ab72ba /Source/cmcmd.cxx
parent2d833232a35715e412a40ee6207137ecfee7da36 (diff)
downloadcmake-2acd04c96624ce530edcb0ca991bddad7f70023e.tar.gz
cmcmd: Remove some comment copy-pasta.
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 5c9397519f..6a7dc6ea51 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -287,8 +287,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
}
#if defined(CMAKE_BUILD_WITH_CMAKE)
- // Command to create a symbolic link. Fails on platforms not
- // supporting them.
else if (args[1] == "environment" )
{
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 ++)
{
- // Complain if the file could not be removed, still exists,
- // and the -f option was not given.
if(!cmSystemTools::Touch(args[cc], true))
{
return 1;