Răsfoiți Sursa

Fix warning related to unreachable-code-break.

Signed-off-by: Jackie9527 <[email protected]>
Jackie9527 2 ani în urmă
părinte
comite
01488046e6
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      code/PostProcessing/ValidateDataStructure.cpp

+ 0 - 1
code/PostProcessing/ValidateDataStructure.cpp

@@ -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 "