From 9e80dfc42db332130040748e5ddc6aaa43049a48 Mon Sep 17 00:00:00 2001 From: Jackie9527 <80555200+Jackie9527@users.noreply.github.com> Date: Sat, 1 Apr 2023 16:22:45 +0800 Subject: [PATCH] Fix warning related to unreachable-code-break. Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com> --- code/AssetLib/LWO/LWOBLoader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/code/AssetLib/LWO/LWOBLoader.cpp b/code/AssetLib/LWO/LWOBLoader.cpp index a61e49a7f..e49adcf98 100644 --- a/code/AssetLib/LWO/LWOBLoader.cpp +++ b/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)