From 92f2e342a37ec184d1f867fb0b3dcf7bc5d2adc1 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 26 Nov 2022 20:46:34 +0000 Subject: [PATCH] use unreachable instead of break on invalid cvd enum value --- src/config/ConfigManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 88d864a1..59f28e42 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -399,7 +399,7 @@ void CConfigManager::configSetValueSafe(const std::string& COMMAND, const std::s break; } default: { - break; + UNREACHABLE(); } } }