mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -156,6 +156,7 @@ static void EnableSDLLogging()
|
|||||||
log_level = Common::Log::LogLevel::LERROR;
|
log_level = Common::Log::LogLevel::LERROR;
|
||||||
break;
|
break;
|
||||||
case SDL_LOG_PRIORITY_CRITICAL:
|
case SDL_LOG_PRIORITY_CRITICAL:
|
||||||
|
default:
|
||||||
log_level = Common::Log::LogLevel::LNOTICE;
|
log_level = Common::Log::LogLevel::LNOTICE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user