Skip to content

Commit e001af6

Browse files
committed
Fix the possible breakage between || and && in a if condition in Panasonic class
1 parent b2d6e2e commit e001af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/PanasonicTV.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ void CPanasonic::UnloadNodes()
910910
m_ios.stop(); // stop the service if it is running
911911
sleep_milliseconds(100);
912912

913-
while ((!m_pNodes.empty()) || (!m_ios.stopped()) && (iRetryCounter < 15))
913+
while (((!m_pNodes.empty()) || (!m_ios.stopped())) && (iRetryCounter < 15))
914914
{
915915
std::vector<boost::shared_ptr<CPanasonicNode> >::iterator itt;
916916
for (itt = m_pNodes.begin(); itt != m_pNodes.end(); ++itt)

0 commit comments

Comments
 (0)