mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-07-23 15:20:43 +00:00
Fix GCC static analysis warnings
This commit is contained in:
+2
-2
@@ -459,7 +459,7 @@ static void stageCompleteFecBlock(PRTP_VIDEO_QUEUE queue) {
|
||||
|
||||
unsigned int lowestRtpSequenceNumber = entry->packet->sequenceNumber;
|
||||
|
||||
while (entry != NULL) {
|
||||
do {
|
||||
// We should never encounter a packet that's lower than our next seq num
|
||||
LC_ASSERT(!isBefore16(entry->packet->sequenceNumber, nextSeqNum));
|
||||
|
||||
@@ -499,7 +499,7 @@ static void stageCompleteFecBlock(PRTP_VIDEO_QUEUE queue) {
|
||||
}
|
||||
|
||||
entry = entry->next;
|
||||
}
|
||||
} while (entry != NULL);
|
||||
|
||||
if (entry == NULL) {
|
||||
// Start at the lowest we found last enumeration
|
||||
|
||||
Reference in New Issue
Block a user