github build errors

This commit is contained in:
Robin Davies
2024-08-08 18:29:19 -04:00
parent 6f6729df20
commit abef0cd428
+2 -2
View File
@@ -82,7 +82,7 @@ void DBusDispatcher::WakeThread()
uint64_t val = 1;
if (eventFd != -1)
{
(void)write(eventFd, &val, sizeof(val));
std::ignore = write(eventFd, &val, sizeof(val));
}
}
void DBusDispatcher::ThreadProc()
@@ -180,7 +180,7 @@ void DBusDispatcher::ThreadProc()
if (pollFds[1].revents & POLLIN) // received a wakup event?
{
uint64_t counter;
(void)read(pollFds[1].fd, &counter, sizeof(counter)); // reset the wakeup event.
std::ignore = read(pollFds[1].fd, &counter, sizeof(counter)); // reset the wakeup event.
}
}
}