Browse Source

Fix warning related to unreachable-code-break.

Signed-off-by: Jackie9527 <[email protected]>
Jackie9527 2 years ago
parent
commit
9e80dfc42d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      code/AssetLib/LWO/LWOBLoader.cpp

+ 0 - 1
code/AssetLib/LWO/LWOBLoader.cpp

@@ -65,7 +65,6 @@ void LWOImporter::LoadLWOBFile()
         if (mFileBuffer + head.length > end)
         {
             throw DeadlyImportError("LWOB: Invalid chunk length");
-            break;
         }
         uint8_t* const next = mFileBuffer+head.length;
         switch (head.type)