mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 10:57:58 -05:00
Use UNREACHABLE macro for impossible cases in previous commit
Use the UNREACHABLE macro instead of `ASSERT(false, ...);`.
This commit is contained in:
@ -80,8 +80,7 @@ const char* GetLevelName(Level log_level) {
|
||||
LVL(Error);
|
||||
LVL(Critical);
|
||||
case Level::Count:
|
||||
ASSERT_MSG(false, "invalid log level");
|
||||
return "Unknown";
|
||||
UNREACHABLE();
|
||||
}
|
||||
#undef LVL
|
||||
}
|
||||
|
Reference in New Issue
Block a user