Skip to content

Commit 5bdab54

Browse files
author
Carlos Fortes
committed
style(core): remove commented-out assertion block
1 parent 9432c65 commit 5bdab54

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/DownloadClient.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -692,11 +692,6 @@ void CUpDownClient::SendBlockRequests()
692692
m_PendingBlocks_list.push_back(pblock);
693693
}
694694
} else {
695-
// Original code assumed this could never happen:
696-
// // WTF, we just freed blocks.
697-
// wxFAIL_MSG("No free blocks to request after freeing some blocks");
698-
// return;
699-
700695
// It's possible the freed blocks were not available on our source.
701696
// Just drop ourselves gracefully instead of crashing.
702697
if (!GetSentCancelTransfer()) {

0 commit comments

Comments
 (0)