Browse Source

Fix warning related to unreachable-code-break.

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

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

@@ -1486,7 +1486,6 @@ void LWOImporter::LoadLWO2File() {
 
         if (mFileBuffer + head.length > end) {
             throw DeadlyImportError("LWO2: Chunk length points behind the file");
-            break;
         }
         uint8_t *const next = mFileBuffer + head.length;
         mFileBuffer += bufOffset;