summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/logging/backend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 0a081e7d4..92e8e742d 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -66,8 +66,9 @@ const char* GetLogClassName(Class log_class) {
ALL_LOG_CLASSES()
#undef CLS
#undef SUB
+ case Class::Count:
+ UNREACHABLE();
}
- return "Unknown";
}
const char* GetLevelName(Level log_level) {