Skip to content

Commit

Permalink
Add explicit [[fallthrough]] attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
janisozaur authored and HowardWolosky committed Mar 7, 2019
1 parent 0197fa4 commit ca01a7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CalcManager/CEngine/scifunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca01a7e

Please sign in to comment.