Fix warning related to unreachable-code-break.

Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>
This commit is contained in:
Jackie9527
2023-04-19 22:18:34 +08:00
parent 01488046e6
commit 9e80dfc42d
-1
View File
@@ -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)