fix -Wimplicit-fall-through, -Wpedantic

This commit is contained in:
wmayer
2019-10-22 10:54:03 +02:00
parent 7222b32cde
commit 8e17c8c4ba
2 changed files with 2 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ using namespace Gui;
// BaseView
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TYPESYSTEM_SOURCE_ABSTRACT(Gui::BaseView,Base::BaseClass);
TYPESYSTEM_SOURCE_ABSTRACT(Gui::BaseView,Base::BaseClass)
BaseView::BaseView( Gui::Document* pcDocument)

View File

@@ -926,6 +926,7 @@ void View3DInventorViewer::onSelectionChanged(const SelectionChanges &_Reason)
case SelectionChanges::SetPreselect:
if(Reason.SubType!=2) // 2 means it is triggered from tree view
break;
// fall through
case SelectionChanges::RmvPreselect:
case SelectionChanges::RmvPreselectSignal:
case SelectionChanges::SetSelection: