1
0
Fork 0
forked from suyu/suyu

configure_system: break instead of semicolon

Makes the code more readable

Co-Authored-By: LC <lioncash@users.noreply.github.com>
This commit is contained in:
lat9nq 2020-07-14 13:40:49 -04:00
parent d5fdbd88c8
commit e483ed21eb

View file

@ -164,7 +164,8 @@ void ConfigureSystem::ApplyConfiguration() {
Settings::values.rng_seed.SetValue(std::nullopt); Settings::values.rng_seed.SetValue(std::nullopt);
Settings::values.rng_seed.SetGlobal(true); Settings::values.rng_seed.SetGlobal(true);
break; break;
case ConfigurationShared::CheckState::Count:; case ConfigurationShared::CheckState::Count:
break;
} }
switch (ConfigurationShared::trackers.use_custom_rtc) { switch (ConfigurationShared::trackers.use_custom_rtc) {
@ -183,7 +184,8 @@ void ConfigureSystem::ApplyConfiguration() {
Settings::values.custom_rtc.SetValue(std::nullopt); Settings::values.custom_rtc.SetValue(std::nullopt);
Settings::values.custom_rtc.SetGlobal(true); Settings::values.custom_rtc.SetGlobal(true);
break; break;
case ConfigurationShared::CheckState::Count:; case ConfigurationShared::CheckState::Count:
break;
} }
} }