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:
@@ -1540,6 +1540,7 @@ void LWOImporter::LoadLWO2File() {
|
||||
break;
|
||||
}
|
||||
// --- intentionally no break here
|
||||
// fallthrough
|
||||
case AI_LWO_VMAP: {
|
||||
if (skip)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user