Skip to content

Commit

Permalink
remove unused variable in Test
Browse files Browse the repository at this point in the history
Summary: fixes facebook#280

Reviewed By: jbeshay

Differential Revision: D42417912

fbshipit-source-id: 63b20d9e75e7db62bee783b0f509773976a0258f
  • Loading branch information
Luca Niccolini authored and facebook-github-bot committed Jan 9, 2023
1 parent 4abbdf1 commit a6a0bb0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions quic/loss/test/QuicLossFunctionsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -872,13 +872,11 @@ TEST_F(QuicLossFunctionsTest, TestMarkPacketLossNoMerge) {

auto& packet1 =
getFirstOutstandingPacket(*conn, PacketNumberSpace::AppData)->packet;
auto packetNum = packet1.header.getPacketSequenceNum();
markPacketLoss(*conn, packet1, false);
EXPECT_EQ(stream1->retransmissionBuffer.size(), 2);
EXPECT_EQ(stream1->lossBuffer.size(), 1);
auto& packet3 =
getLastOutstandingPacket(*conn, PacketNumberSpace::AppData)->packet;
packetNum = packet3.header.getPacketSequenceNum();
markPacketLoss(*conn, packet3, false);
EXPECT_EQ(stream1->retransmissionBuffer.size(), 1);
EXPECT_EQ(stream1->lossBuffer.size(), 2);
Expand Down

0 comments on commit a6a0bb0

Please sign in to comment.