mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 08:44:21 +00:00
Fix GCC static analysis warnings
This commit is contained in:
1 parent
c13f4a323f
commit
515bea6fb4
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -1233,7 +1233,7 @@ static void requestIdrFrame(void) {
|
||||
|
||||
// Send the reference frame invalidation request and read the response
|
||||
if (!sendMessageAndDiscardReply(packetTypes[IDX_INVALIDATE_REF_FRAMES],
|
||||
payloadLengths[IDX_INVALIDATE_REF_FRAMES],
|
||||
sizeof(payload),
|
||||
payload,
|
||||
CTRL_CHANNEL_URGENT,
|
||||
ENET_PACKET_FLAG_RELIABLE,
|
||||
@@ -1272,7 +1272,7 @@ static void requestInvalidateReferenceFrames(int startFrame, int endFrame) {
|
||||
|
||||
// Send the reference frame invalidation request and read the response
|
||||
if (!sendMessageAndDiscardReply(packetTypes[IDX_INVALIDATE_REF_FRAMES],
|
||||
payloadLengths[IDX_INVALIDATE_REF_FRAMES],
|
||||
sizeof(payload),
|
||||
payload, CTRL_CHANNEL_URGENT,
|
||||
ENET_PACKET_FLAG_RELIABLE,
|
||||
false)) {
|
||||
|
||||
Reference in new issue
Block a user