mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
clang-tidy: modernize-use-nullptr (NFC)
This commit is contained in:
@@ -223,7 +223,7 @@ bool TCPStream::WaitForReadEvent(int timeout) {
|
||||
tv.tv_usec = 0;
|
||||
FD_ZERO(&sdset);
|
||||
FD_SET(m_sd, &sdset);
|
||||
if (select(m_sd + 1, &sdset, NULL, NULL, &tv) > 0) {
|
||||
if (select(m_sd + 1, &sdset, nullptr, nullptr, &tv) > 0) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user