chore: ArchNetworkBSD, use std::ignore in place of unused int
This commit is contained in:
parent
082d27a88c
commit
3472ff6ce5
1 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue