Skip to content

Commit

Permalink
Change single line if statement
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahua Wang <jiahua.wang@broadcom.com>
  • Loading branch information
jiahua-wang committed Jul 24, 2022
1 parent 1960244 commit 6f226fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion syncd/MdioIpcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ MdioIpcServer::~MdioIpcServer()
SWSS_LOG_ENTER();

m_taskAlive = 0;
if(m_taskThread.joinable()) m_taskThread.join();
if(m_taskThread.joinable())
{
m_taskThread.join();
}
}

void MdioIpcServer::setSwitchId(
Expand Down

0 comments on commit 6f226fb

Please sign in to comment.