Add explicit [[fallthrough]] attribute

This commit is contained in:
Michał Janiszewski 2019-03-06 23:21:58 +01:00 committed by Howard Wolosky
parent 0197fa41da
commit ca01a7e444

View File

@ -173,6 +173,7 @@ CalcEngine::Rational CCalcEngine::SciCalcFunctions(CalcEngine::Rational const& r
// the degrees functionality was achieved as 'Inv' of 'dms' operation,
// so setting the IDC_INV command first and then performing 'dms' operation as global variables m_bInv, m_bRecord
// are set properly through ProcessCommand(IDC_INV)
[[fallthrough]];
case IDC_DMS:
{
if (!m_fIntegerMode)