Add break for default cases

Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.

I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw

R_THROW macro leads towards a return
This commit is contained in:
Kyle Kienapfel 2022-11-11 04:12:37 -08:00
parent 04af9d91d6
commit d886438754
24 changed files with 38 additions and 6 deletions

View file

@ -395,6 +395,7 @@ Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std:
default:
ASSERT(false);
break;
}
// Create TLS region