]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ipc/ipc_mqueue.c
xnu-201.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_mqueue.c
index 0c7502e6afa0efbb3ce6a46884c99daa9d4fe0b3..97f13b62c918d89ccfb7dcd6f45ba5e7be2c45d0 100644 (file)
@@ -342,7 +342,7 @@ ipc_mqueue_send(
                        return MACH_SEND_TIMED_OUT;
                }
                mqueue->imq_fullwaiters = TRUE;
-               wait_queue_assert_wait_locked(&mqueue->imq_wait_queue,
+               (void)wait_queue_assert_wait_locked(&mqueue->imq_wait_queue,
                                                                          IPC_MQUEUE_FULL,
                                                                          THREAD_ABORTSAFE,
                                                                          TRUE); /* unlock? */
@@ -715,7 +715,7 @@ ipc_mqueue_receive(
        self->ith_option = option;
        self->ith_msize = max_size;
                
-       wait_queue_assert_wait_locked(&mqueue->imq_wait_queue,
+       (void)wait_queue_assert_wait_locked(&mqueue->imq_wait_queue,
                                                                  IPC_MQUEUE_RECEIVE,
                                                                  interruptible,
                                                                  TRUE); /* unlock? */