mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 5373095214d9 (debugging patch for bug 924771) because it is no longer needed
This commit is contained in:
parent
050f402290
commit
81f6c32486
@ -237,15 +237,12 @@ ReceivePort::~ReceivePort() {
|
||||
kern_return_t ReceivePort::WaitForMessage(MachReceiveMessage *out_message,
|
||||
mach_msg_timeout_t timeout) {
|
||||
if (!out_message) {
|
||||
printf("WaitForMessage failed because out_message was null\n");
|
||||
return KERN_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
// return any error condition encountered in constructor
|
||||
if (init_result_ != KERN_SUCCESS) {
|
||||
printf("WaitForMessage failed because init_result_ was %d\n", init_result_);
|
||||
if (init_result_ != KERN_SUCCESS)
|
||||
return init_result_;
|
||||
}
|
||||
|
||||
out_message->Head()->msgh_bits = 0;
|
||||
out_message->Head()->msgh_local_port = port_;
|
||||
@ -261,7 +258,6 @@ kern_return_t ReceivePort::WaitForMessage(MachReceiveMessage *out_message,
|
||||
timeout, // timeout in ms
|
||||
MACH_PORT_NULL);
|
||||
|
||||
printf("WaitForMessage returned %d\n", result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user