From ca01a7e44424a44543ac1f83939cf50bbcbaba72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Wed, 6 Mar 2019 23:21:58 +0100 Subject: [PATCH] Add explicit [[fallthrough]] attribute --- src/CalcManager/CEngine/scifunc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CalcManager/CEngine/scifunc.cpp b/src/CalcManager/CEngine/scifunc.cpp index eb513ea..75fbbfc 100644 --- a/src/CalcManager/CEngine/scifunc.cpp +++ b/src/CalcManager/CEngine/scifunc.cpp @@ -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)