mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03:00
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.
This commit is contained in:
1 parent
ec12336f15
commit
43c01e0750
1 file changed
-11
@@ -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());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user