17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-29 05:47:28 +01:00

refactor(sonar): mark unused parameters (cpp:S1172)

Unused names are commented out; parameters used only on some platforms
are marked [[maybe_unused]].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 15:18:45 +02:00
parent 8c23c1fe2b
commit 1f256e9593
12 changed files with 128 additions and 128 deletions

View File

@@ -6072,7 +6072,7 @@ void TTrain::OnCommand_redmarkerdisablerearright(TTrain *Train, command_data con
}
}
void TTrain::OnCommand_redmarkerstoggle(TTrain *Train, command_data const &Command)
void TTrain::OnCommand_redmarkerstoggle(TTrain * /*Train*/, command_data const &Command)
{
if (true == Command.freefly && Command.action == GLFW_PRESS)
@@ -6098,7 +6098,7 @@ void TTrain::OnCommand_redmarkerstoggle(TTrain *Train, command_data const &Comma
}
}
void TTrain::OnCommand_endsignalstoggle(TTrain *Train, command_data const &Command)
void TTrain::OnCommand_endsignalstoggle(TTrain * /*Train*/, command_data const &Command)
{
if (true == Command.freefly && Command.action == GLFW_PRESS)
@@ -7793,7 +7793,7 @@ void TTrain::OnCommand_nearestcarcouplingdisconnect(TTrain *Train, command_data
}
}
void TTrain::OnCommand_nearestcarcoupleradapterattach(TTrain *Train, command_data const &Command)
void TTrain::OnCommand_nearestcarcoupleradapterattach(TTrain * /*Train*/, command_data const &Command)
{
if (true == Command.freefly && Command.action == GLFW_PRESS)
@@ -7812,7 +7812,7 @@ void TTrain::OnCommand_nearestcarcoupleradapterattach(TTrain *Train, command_dat
}
}
void TTrain::OnCommand_nearestcarcoupleradapterremove(TTrain *Train, command_data const &Command)
void TTrain::OnCommand_nearestcarcoupleradapterremove(TTrain * /*Train*/, command_data const &Command)
{
if (true == Command.freefly && Command.action == GLFW_PRESS)