Skip to content

Commit c5c7a18

Browse files
committed
fix implicit fall through warning
1 parent c9ac710 commit c5c7a18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/engine/BspTree.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ NodeIndex BspTree::findLeafOf(const Math::float3& position)
4949
case 1: // Front
5050
if (m_Nodes[n].front != INVALID_NODE)
5151
return rec(m_Nodes[n].front);
52-
52+
break;
5353
case 2: // Back
5454
if (m_Nodes[n].back != INVALID_NODE)
5555
return rec(m_Nodes[n].back);
56-
56+
break;
5757
case 3: // Split
5858
default:
5959
break;

0 commit comments

Comments
 (0)