diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-26 20:46:34 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-26 20:46:39 +0000 |
| commit | 92f2e342a37ec184d1f867fb0b3dcf7bc5d2adc1 (patch) | |
| tree | 7f39bedb42ae0d28a376fcbc7c07555b311eb3d7 /src/config/ConfigManager.cpp | |
| parent | e2f3f5fe63323ef6477b312f770083be485d53d7 (diff) | |
use unreachable instead of break on invalid cvd enum value
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } } } |
