Tracker: fix unchecked return value. CID 602487
This commit is contained in:
parent
a1c48ee597
commit
d6a5d5962e
@ -485,9 +485,10 @@ TTracker::MessageReceived(BMessage* message)
|
||||
{
|
||||
const node_ref* itemNode;
|
||||
ssize_t bytes;
|
||||
message->FindData("node_ref", B_RAW_TYPE,
|
||||
(const void**)&itemNode, &bytes);
|
||||
CloseWindowAndChildren(itemNode);
|
||||
if (message->FindData("node_ref", B_RAW_TYPE,
|
||||
(const void**)&itemNode, &bytes) == B_OK) {
|
||||
CloseWindowAndChildren(itemNode);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user