Remove set but otherwise unused variables
Recent Clang versions have enhanced -Wunused-but-set-variable which now warns about this. Bug: chromium:1309955 Change-Id: Ie70df85f5a6d2cbabb4e10960bfd926ff7bf32cb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/257162 Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Commit-Queue: Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/main@{#36381}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
440eeaa963
commit
73ef48cf05
@ -225,7 +225,6 @@ void NetEqDecodingTest::WrapTest(uint16_t start_seq_no,
|
||||
|
||||
// Insert speech for 2 seconds.
|
||||
const int kSpeechDurationMs = 2000;
|
||||
int packets_inserted = 0;
|
||||
uint16_t last_seq_no;
|
||||
uint32_t last_timestamp;
|
||||
bool timestamp_wrapped = false;
|
||||
@ -240,7 +239,6 @@ void NetEqDecodingTest::WrapTest(uint16_t start_seq_no,
|
||||
if (drop_seq_numbers.find(seq_no) == drop_seq_numbers.end()) {
|
||||
// This sequence number was not in the set to drop. Insert it.
|
||||
ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload));
|
||||
++packets_inserted;
|
||||
}
|
||||
NetEqNetworkStatistics network_stats;
|
||||
ASSERT_EQ(0, neteq_->NetworkStatistics(&network_stats));
|
||||
|
||||
Reference in New Issue
Block a user