1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-04-18 17:24:03 +03:00

Fix CQS signal. Id] 93039475 -- readability-redundant-string-init in fbcode/quic/server

Reviewed By: dtolnay

Differential Revision: D72781263

fbshipit-source-id: 9e639c2bb003b50e5752a8831ef72cf4f27df610
This commit is contained in:
generatedunixname89002005287564 2025-04-10 09:44:25 -07:00 committed by Facebook GitHub Bot
parent 7e2de97f2a
commit 7dbd219831

View File

@ -1639,7 +1639,7 @@ TEST_F(QuicServerWorkerRetryTest, TestRetryValidInitial) {
EXPECT_CALL(*transport_, setTransportStatsCallback(nullptr));
// send initial to extract the retry token sent by the server
std::string retryToken{""};
std::string retryToken;
expectServerRetryPacketWrite(retryToken);
testSendInitial(srcConnId, dstConnId, kClientAddr);
@ -1658,7 +1658,7 @@ TEST_F(QuicServerWorkerRetryTest, TestRetryUnfinishedValidInitial) {
EXPECT_CALL(*transport_, setTransportStatsCallback(nullptr));
// send initial to extract the retry token sent by the server
std::string retryToken{""};
std::string retryToken;
expectServerRetryPacketWrite(retryToken);
testSendInitial(srcConnId, dstConnId, kClientAddr);
@ -1674,7 +1674,7 @@ TEST_F(QuicServerWorkerRetryTest, TestRetryInvalidInitialClientIp) {
auto srcConnId = getTestConnectionId(0);
// send initial to extract the retry token sent by the server
std::string retryToken{""};
std::string retryToken;
expectServerRetryPacketWrite(retryToken);
testSendInitial(srcConnId, dstConnId, kClientAddr);
@ -1695,7 +1695,7 @@ TEST_F(QuicServerWorkerRetryTest, TestRetryUnfinishedInvalidInitialClientIp) {
auto srcConnId = getTestConnectionId(0);
// send initial to extract the retry token sent by the server
std::string retryToken{""};
std::string retryToken;
expectServerRetryPacketWrite(retryToken);
testSendInitial(srcConnId, dstConnId, kClientAddr);
@ -1712,7 +1712,7 @@ TEST_F(QuicServerWorkerRetryTest, TestRetryInvalidInitialDstConnId) {
auto srcConnId = getTestConnectionId(0);
// send initial to extract the retry token sent by the server
std::string retryToken{""};
std::string retryToken;
expectServerRetryPacketWrite(retryToken);
testSendInitial(srcConnId, dstConnId, kClientAddr);