Add fallthrough comment to switch case

This allows gcc to identify intentional fallthroughs, which are part all
-Wall. Specifically -Werror=implicit-fallthrough
This commit is contained in:
Engin Manap
2022-07-08 18:16:02 +02:00
parent 1c646057ce
commit a10abe0283
4 changed files with 5 additions and 2 deletions
+1
View File
@@ -1540,6 +1540,7 @@ void LWOImporter::LoadLWO2File() {
break;
}
// --- intentionally no break here
// fallthrough
case AI_LWO_VMAP: {
if (skip)
break;