Fix warning related to unreachable-code-break.
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
This commit is contained in:
@@ -290,7 +290,6 @@ void ValidateDSProcess::Validate(const aiMesh *pMesh) {
|
|||||||
switch (face.mNumIndices) {
|
switch (face.mNumIndices) {
|
||||||
case 0:
|
case 0:
|
||||||
ReportError("aiMesh::mFaces[%i].mNumIndices is 0", i);
|
ReportError("aiMesh::mFaces[%i].mNumIndices is 0", i);
|
||||||
break;
|
|
||||||
case 1:
|
case 1:
|
||||||
if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_POINT)) {
|
if (0 == (pMesh->mPrimitiveTypes & aiPrimitiveType_POINT)) {
|
||||||
ReportError("aiMesh::mFaces[%i] is a POINT but aiMesh::mPrimitiveTypes "
|
ReportError("aiMesh::mFaces[%i] is a POINT but aiMesh::mPrimitiveTypes "
|
||||||
|
|||||||
Reference in New Issue
Block a user