Follow convention and break in default case

This commit is contained in:
Ian Chamberlain 2022-08-23 08:22:17 -04:00
parent 401336c5e7
commit 24b54a9b01
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60

View File

@ -393,6 +393,7 @@ int main(int argc, char** argv) {
break; // Expected case break; // Expected case
default: default:
LOG_ERROR(Frontend, "Error while loading ROM: {}", system.GetStatusDetails()); LOG_ERROR(Frontend, "Error while loading ROM: {}", system.GetStatusDetails());
break;
} }
system.TelemetrySession().AddField(Common::Telemetry::FieldType::App, "Frontend", "SDL"); system.TelemetrySession().AddField(Common::Telemetry::FieldType::App, "Frontend", "SDL");
@ -449,6 +450,7 @@ int main(int argc, char** argv) {
break; break;
default: default:
LOG_ERROR(Frontend, "Error in main run loop: {}", result, system.GetStatusDetails()); LOG_ERROR(Frontend, "Error in main run loop: {}", result, system.GetStatusDetails());
break;
} }
} }
render_thread.join(); render_thread.join();