diff options
author | Brad King <brad.king@kitware.com> | 2015-05-28 14:15:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-28 14:16:37 (GMT) |
commit | 43c01e07504e2ab61e7a30b428c1c9601791f948 (patch) | |
tree | ef87cce335aae799f30d3ed3fda1a854057a00d5 /Source/cmFileCommand.cxx | |
parent | ec12336f15c0fb0181274ac0fe972898e24fb018 (diff) | |
download | CMake-43c01e07504e2ab61e7a30b428c1c9601791f948.zip CMake-43c01e07504e2ab61e7a30b428c1c9601791f948.tar.gz CMake-43c01e07504e2ab61e7a30b428c1c9601791f948.tar.bz2 |
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.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 0af4688..f0d0286 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()); } |