Github compile errors.

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