Skip to content

Commit

Permalink
Remove todos
Browse files Browse the repository at this point in the history
  • Loading branch information
guhetier committed Feb 3, 2025
1 parent c3e97ba commit b94bb5e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/recv_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ QuicRecvBufferCopyIntoChunks(
}

if (Chunk->Link.Flink == &RecvBuffer->Chunks) {
// TODO guhetier: Isn't this always true by definition, since Chunk is the last chunk?
// Was this meant to update the ReadLength only if it is the first chunk instead?
RecvBuffer->ReadLength =
(uint32_t)(QuicRangeGet(&RecvBuffer->WrittenRanges, 0)->Count - RecvBuffer->BaseOffset);
}
Expand Down Expand Up @@ -545,7 +543,6 @@ QuicRecvBufferCopyIntoChunks(

BOOLEAN IsFirstLoop = TRUE;
do {
// TODO guhetier: No reason to have that in the loop, can be done once outside of it
uint32_t ChunkWriteOffset = (ChunkOffset + RelativeOffset) % Chunk->AllocLength;
if (!IsFirstChunk) {
// This RelativeOffset is already shrunk to represent the offset from beginning of the current chunk.
Expand Down

0 comments on commit b94bb5e

Please sign in to comment.