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

fix(sonar): addressing last reliability/security issues

This commit is contained in:
jerrrrycho
2026-10-07 17:17:45 +02:00
parent e570874f63
commit d76524f2e7
3 changed files with 61 additions and 56 deletions

View File

@@ -562,7 +562,7 @@ int eu07_application::run()
if (m_network && m_network->client)
{
// verify sync
if (sync != slave_sync)
if (sync != slave_sync) // NOSONAR slave_sync is initialised, the PR analysis keeps a stale report of the old declaration
{
WriteLog("net: desync! calculated: " + std::to_string(sync) + ", received: " + std::to_string(slave_sync), logtype::net);