Procházet zdrojové kódy

Fix warning related to unreachable-code-break.

Signed-off-by: Jackie9527 <[email protected]>
Jackie9527 před 2 roky
rodič
revize
01488046e6
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  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) {
             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 "