citra-emu
/
citra
Archived
1
0
Fork 0

common/logging: Silence no return value warnings

This commit is contained in:
ReinUsesLisp 2019-11-15 18:43:35 -03:00 committed by FearlessTobi
parent 4442a25e31
commit 30be149f87
1 changed files with 6 additions and 2 deletions

View File

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