Sfoglia il codice sorgente

Fix warning related to unreachable-code-break.

Signed-off-by: Jackie9527 <[email protected]>
Jackie9527 2 anni fa
parent
commit
0a05a1f17f
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      code/AssetLib/Collada/ColladaParser.cpp

+ 0 - 1
code/AssetLib/Collada/ColladaParser.cpp

@@ -1855,7 +1855,6 @@ size_t ColladaParser::ReadPrimitives(XmlNode &node, Mesh &pMesh, std::vector<Inp
         default:
         default:
             // LineStrip is not supported due to expected index unmangling
             // LineStrip is not supported due to expected index unmangling
             throw DeadlyImportError("Unsupported primitive type.");
             throw DeadlyImportError("Unsupported primitive type.");
-            break;
         }
         }
 
 
         // store the face size to later reconstruct the face from
         // store the face size to later reconstruct the face from