mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-12-02 10:05:50 +00:00
refactor: resolve Sonar cpp:S5008 findings (#5909)
This commit is contained in:
1 parent
e2a56b3d17
commit
1925909fbc
41 files changed
+722
-149
No files matched your search
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user