mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-19 06:09:18 +02:00
refactor(sonar): remove empty statements, one declaration per statement (cpp:S1116, cpp:S1659)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user