2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #3123 from ReinUsesLisp/logging-return

common/logging: Silence no return value warnings
This commit is contained in:
bunnei 2019-11-17 20:29:51 -05:00 committed by GitHub
commit 60993513af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,8 +272,10 @@ const char* GetLogClassName(Class log_class) {
#undef CLS #undef CLS
#undef SUB #undef SUB
case Class::Count: case Class::Count:
UNREACHABLE(); break;
} }
UNREACHABLE();
return "Invalid";
} }
const char* GetLevelName(Level log_level) { const char* GetLevelName(Level log_level) {
@ -288,9 +290,11 @@ const char* GetLevelName(Level log_level) {
LVL(Error); LVL(Error);
LVL(Critical); LVL(Critical);
case Level::Count: case Level::Count:
UNREACHABLE(); break;
} }
#undef LVL #undef LVL
UNREACHABLE();
return "Invalid";
} }
void SetGlobalFilter(const Filter& filter) { void SetGlobalFilter(const Filter& filter) {