registrar: Use BMessage::MakeEmpty().
Shouldn't be a functional change, but more idiomatic.
This commit is contained in:
@@ -150,7 +150,7 @@ ClipboardHandler::MessageReceived(BMessage *message)
|
|||||||
reply.AddInt32("result", result);
|
reply.AddInt32("result", result);
|
||||||
result = message->SendReply(&reply);
|
result = message->SendReply(&reply);
|
||||||
if (result != B_OK) {
|
if (result != B_OK) {
|
||||||
reply = BMessage();
|
reply.MakeEmpty();
|
||||||
reply.what = B_REG_RESULT;
|
reply.what = B_REG_RESULT;
|
||||||
reply.AddInt32("result", result);
|
reply.AddInt32("result", result);
|
||||||
message->SendReply(&reply);
|
message->SendReply(&reply);
|
||||||
|
|||||||
Reference in New Issue
Block a user