Tracker: fix unchecked return value. CID 602488
This commit is contained in:
parent
854c14fb6f
commit
628bd168bd
@ -581,9 +581,10 @@ TTracker::MessageReceived(BMessage* message)
|
|||||||
case kStopWatchClipboardRefs:
|
case kStopWatchClipboardRefs:
|
||||||
{
|
{
|
||||||
BMessenger messenger;
|
BMessenger messenger;
|
||||||
message->FindMessenger("target", &messenger);
|
if (message->FindMessenger("target", &messenger) == B_OK
|
||||||
if (messenger.IsValid())
|
&& messenger.IsValid()) {
|
||||||
fClipboardRefsWatcher->RemoveFromNotifyList(messenger);
|
fClipboardRefsWatcher->RemoveFromNotifyList(messenger);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user