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:22:45 +08:00
parent 01488046e6
commit 9e80dfc42d
1 changed files with 0 additions and 1 deletions

View File

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