vm/mach_signal.cpp: didn't need mach_msg_return_t.
parent
2a8e8ba025
commit
1d8ca2c835
|
@ -165,13 +165,10 @@ static void* mach_exception_thread(void* arg) {
|
||||||
char data[1024];
|
char data[1024];
|
||||||
} reply;
|
} reply;
|
||||||
|
|
||||||
mach_msg_return_t retval;
|
|
||||||
|
|
||||||
// Wait for a message on the exception port.
|
// Wait for a message on the exception port.
|
||||||
retval =
|
if (mach_msg(&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof(msg),
|
||||||
mach_msg(&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof(msg),
|
our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL) !=
|
||||||
our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
|
MACH_MSG_SUCCESS) {
|
||||||
if (retval != MACH_MSG_SUCCESS) {
|
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue