diff --git a/src/LinearMath/btConvexHullComputer.cpp b/src/LinearMath/btConvexHullComputer.cpp index d58ac955f..c49675daa 100644 --- a/src/LinearMath/btConvexHullComputer.cpp +++ b/src/LinearMath/btConvexHullComputer.cpp @@ -1278,7 +1278,20 @@ void btConvexHullInternal::computeInternal(int start, int end, IntermediateHull& return; } } - // lint -fallthrough + { + Vertex* v = originalVertices[start]; + v->edges = NULL; + v->next = v; + v->prev = v; + + result.minXy = v; + result.maxXy = v; + result.minYx = v; + result.maxYx = v; + } + + return; + } case 1: { Vertex* v = originalVertices[start]; diff --git a/src/LinearMath/btThreads.h b/src/LinearMath/btThreads.h index 781e9b1f5..05fd15ec8 100644 --- a/src/LinearMath/btThreads.h +++ b/src/LinearMath/btThreads.h @@ -98,6 +98,7 @@ SIMD_FORCE_INLINE bool btMutexTryLock( btSpinMutex* mutex ) class btIParallelForBody { public: + virtual ~btIParallelForBody() {} virtual void forLoop( int iBegin, int iEnd ) const = 0; };