Skip to content

Commit

Permalink
Removed excessive variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Małecki committed Sep 25, 2024
1 parent 849b9f9 commit f2d22d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5556,7 +5556,7 @@ void * srt::CUDT::tsbpd(void* param)
if (self->m_bClosing)
break;

SRT_ATR_UNUSED bool bWokeUpOnSignal = true;
bool bWokeUpOnSignal = true;

if (!is_zero(tsNextDelivery))
{
Expand Down Expand Up @@ -5590,7 +5590,7 @@ void * srt::CUDT::tsbpd(void* param)
HLOGC(tslog.Debug, log << self->CONID() << "tsbpd: no data, scheduling wakeup at ack");
self->m_bTsbPdNeedsWakeup = true;

bool bWokeUpOnSignal = false;
bWokeUpOnSignal = false;
while (!bWokeUpOnSignal)
{
// For safety reasons, do wakeup once per 1/8s and re-check the flag.
Expand Down

0 comments on commit f2d22d0

Please sign in to comment.