17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-30 16:40:28 +01:00

refactor(sonar): add default cases to switch statements (cpp:S3562)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 16:22:01 +02:00
parent c67b8be22e
commit 6445ef728a
3 changed files with 25 additions and 0 deletions

View File

@@ -10386,6 +10386,8 @@ bool TTrain::InitializeCab(int NewCabNo, std::string const &asFileName)
case 0:
cabindex = 0;
break;
default:
break;
}
iCabn = cabindex;