summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PathFinder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/PathFinder.cpp')
-rw-r--r--src/Mobs/PathFinder.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/Mobs/PathFinder.cpp b/src/Mobs/PathFinder.cpp
index 93664b596..a4f237fbd 100644
--- a/src/Mobs/PathFinder.cpp
+++ b/src/Mobs/PathFinder.cpp
@@ -152,14 +152,8 @@ ePathFinderStatus cPathFinder::GetNextWayPoint(cChunk & a_Chunk, const Vector3d
return ePathFinderStatus::PATH_FOUND;
}
}
- #ifndef __clang__
- default:
- {
- return ePathFinderStatus::PATH_FOUND;
- // Fixes GCC warning: "control reaches end of non-void function".
- }
- #endif
}
+ UNREACHABLE("Unsupported path finder status");
}