chore: ArchNetworkBSD, use std::ignore in place of unused int
This commit is contained in:
committed by
Chris Rizzitello
parent
082d27a88c
commit
3472ff6ce5
@ -349,9 +349,7 @@ void ArchNetworkBSD::unblockPollSocket(ArchThread thread)
|
||||
const int *unblockPipe = getUnblockPipeForThread(thread);
|
||||
if (unblockPipe != nullptr) {
|
||||
char dummy = 0;
|
||||
int ignore;
|
||||
|
||||
ignore = write(unblockPipe[1], &dummy, 1);
|
||||
std::ignore = write(unblockPipe[1], &dummy, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user