Fix warning related to unreachable-code-break.

Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
pull/5046/head
Jackie9527 2023-04-01 16:23:03 +08:00
parent 9e80dfc42d
commit 7620a69e3e
1 changed files with 0 additions and 1 deletions

View File

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