silence Codacy warning

This commit is contained in:
2025-06-04 12:43:27 -05:00
committed by Andrew Johnson
co-authored by Andrew Johnson
parent 93f6c4692f
commit c9f80d82cc
+1 -2
View File
@@ -73,8 +73,7 @@ public:
}
osiSockAddr bind()
{
osiSockAddr addr;
memset(&addr, 0, sizeof(addr));
osiSockAddr addr = {0};
addr.ia.sin_family = AF_INET;
addr.ia.sin_addr.s_addr = htonl(INADDR_LOOPBACK);