mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[build] Fix Gradle compile_commands.json and clang-tidy warnings (#5977)
This commit is contained in:
@@ -110,6 +110,7 @@ int UDPClient::start(int port) {
|
||||
#endif
|
||||
}
|
||||
|
||||
// NOLINTNEXTLINE(modernize-avoid-bind)
|
||||
int result = bind(m_lsd, reinterpret_cast<sockaddr*>(&addr), sizeof(addr));
|
||||
if (result != 0) {
|
||||
WPI_ERROR(m_logger, "bind() failed: {}", SocketStrerror());
|
||||
|
||||
Reference in New Issue
Block a user