Skip to content

Commit

Permalink
Change from (void) to UNUSED_PARAM()
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankiesz committed Dec 22, 2023
1 parent c4eeff5 commit 1032fca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/source/PeerConnection/Rtcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ static STATUS onRtcpReceiverReport(PRtcpPacket pRtcpPacket, PKvsPeerConnection p
MUTEX_UNLOCK(pTransceiver->statsLock);

// Cast to void to avoid "set but not used" warning
(void)senderSSRC;
(void)cumulativeLost;
(void)extHiSeqNumReceived;
(void)interarrivalJitter;
UNUSED_PARAM(senderSSRC);
UNUSED_PARAM(cumulativeLost);
UNUSED_PARAM(extHiSeqNumReceived);
UNUSED_PARAM(interarrivalJitter);

CleanUp:

Expand Down

0 comments on commit 1032fca

Please sign in to comment.