summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-15 22:43:35 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-11-15 22:43:35 +0100
commit2ac834c722aa21c00bedd7109cc29b84fa63cc32 (patch)
tree6b419f077f874919baaaf91019ca25ebf225db26 /src/common
parentMerge pull request #3047 from ReinUsesLisp/clip-control (diff)
downloadyuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar
yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar.gz
yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar.bz2
yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar.lz
yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar.xz
yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.tar.zst
yuzu-2ac834c722aa21c00bedd7109cc29b84fa63cc32.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/logging/backend.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 1111cfbad..8f2591d53 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -272,8 +272,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) {
@@ -288,9 +290,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) {