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);
|
const int *unblockPipe = getUnblockPipeForThread(thread);
|
||||||
if (unblockPipe != nullptr) {
|
if (unblockPipe != nullptr) {
|
||||||
char dummy = 0;
|
char dummy = 0;
|
||||||
int ignore;
|
std::ignore = write(unblockPipe[1], &dummy, 1);
|
||||||
|
|
||||||
ignore = write(unblockPipe[1], &dummy, 1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue