From 559dad93b882a35e1fc86fbc60149aec4391413f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 11 Jan 2018 08:51:08 +0000 Subject: [PATCH] Added returns to avoid fall through between case statements --- src/osgSim/ShapeAttribute.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osgSim/ShapeAttribute.cpp b/src/osgSim/ShapeAttribute.cpp index c18f70cd8..753322d5e 100644 --- a/src/osgSim/ShapeAttribute.cpp +++ b/src/osgSim/ShapeAttribute.cpp @@ -135,11 +135,13 @@ int ShapeAttribute::compare(const osgSim::ShapeAttribute& sa) const { if (_string