mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
SDL: Add default case to switch statement
Fix -WSwitch warning about unhandled enum value SDL_NUM_LOG_PRIORITIES. log_level is initialized to LNOTICE right before the switch statement so this doesn't cause any behavior changes.
This commit is contained in:
parent
8140d6b1d3
commit
2d3bae9c79
@ -156,6 +156,7 @@ static void EnableSDLLogging()
|
||||
log_level = Common::Log::LogLevel::LERROR;
|
||||
break;
|
||||
case SDL_LOG_PRIORITY_CRITICAL:
|
||||
default:
|
||||
log_level = Common::Log::LogLevel::LNOTICE;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user