diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index f8bf112887..a06f720221 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1368,14 +1368,14 @@ void GMainWindow::HandleSigInterrupt(int sig) { // Calling into Qt directly from a signal handler is not safe, // so wake up a QSocketNotifier with this hacky write call instead. char a = 1; - write(sig_interrupt_fds[0], &a, sizeof(a)); + (void) write(sig_interrupt_fds[0], &a, sizeof(a)); } void GMainWindow::OnSigInterruptNotifierActivated() { sig_interrupt_notifier->setEnabled(false); char a; - read(sig_interrupt_fds[1], &a, sizeof(a)); + (void) read(sig_interrupt_fds[1], &a, sizeof(a)); sig_interrupt_notifier->setEnabled(true);