mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 06:19:19 +02: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:
@@ -206,14 +206,14 @@ void ErrorLog(const char* str, logtype type)
|
||||
}
|
||||
|
||||
|
||||
void Error(const std::string &asMessage, bool box)
|
||||
void Error(const std::string &asMessage, bool /*box*/)
|
||||
{
|
||||
// if (box)
|
||||
// MessageBox(NULL, asMessage.c_str(), string("EU07 " + Global.asRelease).c_str(), MB_OK);
|
||||
ErrorLog(asMessage.c_str());
|
||||
}
|
||||
|
||||
void Error(const char *&asMessage, bool box)
|
||||
void Error(const char *&asMessage, bool /*box*/)
|
||||
{
|
||||
// if (box)
|
||||
// MessageBox(NULL, asMessage, string("EU07 " + Global.asRelease).c_str(), MB_OK);
|
||||
|
||||
Reference in New Issue
Block a user