summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-12 21:14:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-17 19:18:56 (GMT)
commit2acd04c96624ce530edcb0ca991bddad7f70023e (patch)
treefbd00bc627478a0ff82558dc076e858657ab72ba /Source/cmcmd.cxx
parent2d833232a35715e412a40ee6207137ecfee7da36 (diff)
downloadCMake-2acd04c96624ce530edcb0ca991bddad7f70023e.zip
CMake-2acd04c96624ce530edcb0ca991bddad7f70023e.tar.gz
CMake-2acd04c96624ce530edcb0ca991bddad7f70023e.tar.bz2
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 5c93975..6a7dc6e 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;