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

yuzu/configure_service: Silence -Wswitch

ReinUsesLisp 6 лет назад
Родитель
Сommit
2b9b695fa7
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/yuzu/configuration/configure_service.cpp

+ 2 - 0
src/yuzu/configuration/configure_service.cpp

@@ -73,6 +73,8 @@ std::pair<QString, QString> ConfigureService::BCATDownloadEvents() {
     const auto res = Service::BCAT::Boxcat::GetStatus(global, map);
 
     switch (res) {
+    case Service::BCAT::Boxcat::StatusResult::Success:
+        break;
     case Service::BCAT::Boxcat::StatusResult::Offline:
         return {QString{},
                 tr("The boxcat service is offline or you are not connected to the internet.")};