Add explicit [[fallthrough]] attribute
This commit is contained in:
parent
0197fa41da
commit
ca01a7e444
@ -173,6 +173,7 @@ CalcEngine::Rational CCalcEngine::SciCalcFunctions(CalcEngine::Rational const& r
|
|||||||
// the degrees functionality was achieved as 'Inv' of 'dms' operation,
|
// 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
|
// 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)
|
// are set properly through ProcessCommand(IDC_INV)
|
||||||
|
[[fallthrough]];
|
||||||
case IDC_DMS:
|
case IDC_DMS:
|
||||||
{
|
{
|
||||||
if (!m_fIntegerMode)
|
if (!m_fIntegerMode)
|
||||||
|
Loading…
Reference in New Issue
Block a user