- The conditional m_precedenceOpCount >= 0 was always true because m_precendenceOpCount is an unsigned type. Update the conditional to simply be true and rely on a break statement in the loop.

This commit is contained in:
Daniel Belcher 2019-03-13 21:27:58 -07:00
commit d2e7d475bb

View file

@ -514,7 +514,7 @@ void CCalcEngine::ProcessCommandWorker(OpCode wParam)
m_HistoryCollector.PopLastOpndStart();
m_bNoPrevEqu = true;
} while (m_precedenceOpCount >= 0);
} while (true);
if (!m_bError)
{