Fix warning related to unreachable-code-break.

Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
pull/5046/head
Jackie9527 2023-04-01 16:22:14 +08:00
parent b1afa41047
commit 01488046e6
1 changed files with 0 additions and 1 deletions

View File

@ -290,7 +290,6 @@ void ValidateDSProcess::Validate(const aiMesh *pMesh) {
switch (face.mNumIndices) {
case 0:
ReportError("aiMesh::mFaces[%i].mNumIndices is 0", i);
break;
case 1:
if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_POINT)) {
ReportError("aiMesh::mFaces[%i] is a POINT but aiMesh::mPrimitiveTypes "