17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-30 23:40:29 +01:00

refactor(sonar): remove empty statements, one declaration per statement (cpp:S1116, cpp:S1659)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 15:03:30 +02:00
parent 8ce68e3d41
commit 65ded920d2
35 changed files with 315 additions and 180 deletions

View File

@@ -28,7 +28,8 @@ motiontelemetry::motiontelemetry()
throw std::runtime_error("failed to init winsock");
#endif
struct addrinfo hints, *res;
struct addrinfo hints;
struct addrinfo *res;
memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_UNSPEC;