aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYorick van Pelt <yorick@yorickvanpelt.nl>2023-08-11 12:05:45 +0200
committerYorick van Pelt <yorick@yorickvanpelt.nl>2023-08-11 12:05:45 +0200
commite78e9a6bd1c5f26684a9da0d94ede7d960788e0e (patch)
tree89ab6947c0dd972babeaec4998b62e1c9ae309d5 /src
parent2e5096e4f0959cb2974a17fe50ad5ad891b2384f (diff)
SimpleLogger::log: fix unintended fallthrough
Diffstat (limited to 'src')
-rw-r--r--src/libutil/logging.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc
index 5a2dd99af..54702e4ea 100644
--- a/src/libutil/logging.cc
+++ b/src/libutil/logging.cc
@@ -67,7 +67,7 @@ public:
case lvlWarn: c = '4'; break;
case lvlNotice: case lvlInfo: c = '5'; break;
case lvlTalkative: case lvlChatty: c = '6'; break;
- case lvlDebug: case lvlVomit: c = '7';
+ case lvlDebug: case lvlVomit: c = '7'; break;
default: c = '7'; break; // should not happen, and missing enum case is reported by -Werror=switch-enum
}
prefix = std::string("<") + c + ">";