From 8f115a0b343ee5f7a90968b534b3e2c04018df59 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Wed, 16 Oct 2019 13:20:52 +0200 Subject: [PATCH] Avoid fallthrough in switch statement. --- ApplicationCode/ProjectDataModel/Flow/RimWellPltPlot.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ApplicationCode/ProjectDataModel/Flow/RimWellPltPlot.cpp b/ApplicationCode/ProjectDataModel/Flow/RimWellPltPlot.cpp index e2aaf6ed65..1a664a884e 100644 --- a/ApplicationCode/ProjectDataModel/Flow/RimWellPltPlot.cpp +++ b/ApplicationCode/ProjectDataModel/Flow/RimWellPltPlot.cpp @@ -170,10 +170,13 @@ void RimWellPltPlot::setPlotXAxisTitles( RimWellLogTrack* plotTrack ) { case RiaDefines::UNIT_METER: presentUnitSystems.insert( RiaEclipseUnitTools::UNITS_METRIC ); + break; case RiaDefines::UNIT_FEET: presentUnitSystems.insert( RiaEclipseUnitTools::UNITS_FIELD ); + break; case RiaDefines::UNIT_NONE: presentUnitSystems.insert( RiaEclipseUnitTools::UNITS_UNKNOWN ); + break; } } }