Follow convention and break in default case
This commit is contained in:
parent
401336c5e7
commit
24b54a9b01
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue