mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-04 21:04:59 +08:00
chore: ArchNetworkBSD, use std::ignore in place of unused int
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user