17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 05:09:20 +02:00

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

Unused names are commented out; parameters used only on some platforms
are marked [[maybe_unused]].
This commit is contained in:
jerrrrycho
2026-10-10 15:18:45 +02:00
parent ad32f1f840
commit 01d2b9bf82
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)