Просмотр исходного кода

configure_system: break instead of semicolon

Makes the code more readable

Co-Authored-By: LC <lioncash@users.noreply.github.com>
lat9nq 6 лет назад
Родитель
Сommit
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.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;
         }
         }
     }
     }