Skip to content

Commit d9de77d

Browse files
committed
avoid unused variable
1 parent e31480b commit d9de77d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

worker/src/RTC/SCTP/rx/DataTracker.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,11 @@ namespace RTC
327327
UpdateAckState(AckState::IMMEDIATE, "delayed ack timer expired");
328328
}
329329

330+
#if MS_LOG_DEV_LEVEL == 3
330331
void DataTracker::UpdateAckState(AckState newAckState, std::string_view reason)
332+
#else
333+
void DataTracker::UpdateAckState(AckState newAckState, std::string_view /*reason*/)
334+
#endif
331335
{
332336
MS_TRACE();
333337

0 commit comments

Comments
 (0)