Resolve all "illegal jump past declaration/initializer" warnings (#2911)

* resolve illegal jump past declaration/initializer

* pr comments
This commit is contained in:
Niklas Bauer
2025-12-04 14:57:33 +02:00
committed by GitHub
parent f97d334732
commit 4d3f25d34e
53 changed files with 320 additions and 241 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ public:
/* 0x3 */ TYPE_HYRAL,
};
enum EAction {
enum Mode_e {
/* 0x00 */ ACT_WAIT,
/* 0x01 */ ACT_DEMO_FILONE_1,
/* 0x02 */ ACT_DEMO_FILONE_2,
@@ -106,7 +106,7 @@ public:
(this->*(*mAction))();
}
void setAction(EAction action) {
void setAction(Mode_e action) {
mActionID = action;
mAction = ActionTable[mActionID];
callInit();