From 43c01e07504e2ab61e7a30b428c1c9601791f948 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 28 May 2015 10:15:00 -0400 Subject: [PATCH] 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. --- Source/cmFileCommand.cxx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 0af4688e5..f0d02862c 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -3290,17 +3290,6 @@ cmFileCommand::HandleDownloadCommand(std::vector 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()); }