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:
parent
ec12336f15
commit
43c01e0750
|
@ -3290,17 +3290,6 @@ cmFileCommand::HandleDownloadCommand(std::vector<std::string> const& args)
|
||||||
if(!chunkDebug.empty())
|
if(!chunkDebug.empty())
|
||||||
{
|
{
|
||||||
chunkDebug.push_back(0);
|
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,
|
this->Makefile->AddDefinition(verboseLog,
|
||||||
&*chunkDebug.begin());
|
&*chunkDebug.begin());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue