Преглед изворни кода

configure_system: break instead of semicolon

Makes the code more readable

Co-Authored-By: LC <lioncash@users.noreply.github.com>
lat9nq пре 6 година
родитељ
комит
e483ed21eb
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/yuzu/configuration/configure_system.cpp

+ 4 - 2
src/yuzu/configuration/configure_system.cpp

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