Fix warning related to unreachable-code.

Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
pull/5042/head
Jackie9527 2023-04-01 13:01:22 +08:00
parent 7c64b6c599
commit 1dcb5da1cd
1 changed files with 0 additions and 1 deletions

View File

@ -418,7 +418,6 @@ void B3DImporter::ReadTRIS(int v0) {
ASSIMP_LOG_ERROR("Bad triangle index: i0=", i0, ", i1=", i1, ", i2=", i2); ASSIMP_LOG_ERROR("Bad triangle index: i0=", i0, ", i1=", i1, ", i2=", i2);
#endif #endif
Fail("Bad triangle index"); Fail("Bad triangle index");
continue;
} }
face->mNumIndices = 3; face->mNumIndices = 3;
face->mIndices = new unsigned[3]; face->mIndices = new unsigned[3];