mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-18 02:09:18 +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:
@@ -79,7 +79,7 @@ void network::connection::catch_up()
|
||||
send_messages(messages);
|
||||
}
|
||||
|
||||
void network::connection::send_complete(std::shared_ptr<std::string> buf)
|
||||
void network::connection::send_complete(std::shared_ptr<std::string> /*buf*/)
|
||||
{
|
||||
if (!is_client && state == CATCHING_UP) {
|
||||
catch_up();
|
||||
|
||||
Reference in New Issue
Block a user