summaryrefslogtreecommitdiff
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-28 10:15:00 -0400
committerBrad King <brad.king@kitware.com>2015-05-28 10:16:37 -0400
commit43c01e07504e2ab61e7a30b428c1c9601791f948 (patch)
treeef87cce335aae799f30d3ed3fda1a854057a00d5 /Source/cmFileCommand.cxx
parentec12336f15c0fb0181274ac0fe972898e24fb018 (diff)
downloadcmake-43c01e07504e2ab61e7a30b428c1c9601791f948.tar.gz
cmFileCommand: Remove leftover no-op debugging logic
Remove debugging logic left from commit v2.6.0~305 (add DOWNLOAD option to FILE command, 2008-02-06). The CURLE_OPERATION_TIMEOUTED code path does nothing that the code immediately after it does not do.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 0af4688e57..f0d02862c6 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -3290,17 +3290,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string> const& args)
if(!chunkDebug.empty())
{
chunkDebug.push_back(0);
- if(CURLE_OPERATION_TIMEOUTED == res)
- {
- std::string output = &*chunkDebug.begin();
-
- if(!verboseLog.empty())
- {
- this->Makefile->AddDefinition(verboseLog,
- &*chunkDebug.begin());
- }
- }
-
this->Makefile->AddDefinition(verboseLog,
&*chunkDebug.begin());
}