Skip to content

Commit

Permalink
Github compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
rerdavies committed Aug 8, 2024
1 parent 9d0660d commit febc86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NetworkManagerP2P/src/DBusDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void DBusDispatcher::WakeThread()
uint64_t val = 1;
if (eventFd != -1)
{
write(eventFd, &val, sizeof(val));
(void)write(eventFd, &val, sizeof(val));
}
}
void DBusDispatcher::ThreadProc()
Expand Down Expand Up @@ -180,7 +180,7 @@ void DBusDispatcher::ThreadProc()
if (pollFds[1].revents & POLLIN) // received a wakup event?
{
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.
}
}
}
Expand Down

0 comments on commit febc86f

Please sign in to comment.