refactor: resolve Sonar cpp:S5008 findings (#5909)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-10-13 10:09:32 -04:00
1 parent e2a56b3d17
commit 1925909fbc
41 files changed
+722 -149

No files matched your search

+2 -2
View File
@@ -1567,7 +1567,7 @@ namespace stream {
frame_network_latency_logger.first_point_now();
auto session = (session_t *) packet->channel_data;
auto *session = packet->channel_data;
auto lowseq = session->video.lowseq;
std::string_view payload {(char *) packet->data(), packet->data_size()};
@@ -1892,7 +1892,7 @@ namespace stream {
}
TUPLE_2D_REF(channel_data, packet_data, *packet);
auto session = (session_t *) channel_data;
auto *session = channel_data;
auto sequenceNumber = session->audio.sequenceNumber;
auto timestamp = session->audio.timestamp;