Tracker: fix unchecked return value, CID 602466
This commit is contained in:
parent
4083dbf1ab
commit
50060fccaa
@ -1260,7 +1260,8 @@ BContainerWindow::GetLayoutState(BNode* node, BMessage* message)
|
|||||||
char attrName[256];
|
char attrName[256];
|
||||||
while (node->GetNextAttrName(attrName) == B_OK) {
|
while (node->GetNextAttrName(attrName) == B_OK) {
|
||||||
attr_info info;
|
attr_info info;
|
||||||
node->GetAttrInfo(attrName, &info);
|
if (node->GetAttrInfo(attrName, &info) != B_OK)
|
||||||
|
continue;
|
||||||
|
|
||||||
// filter out attributes that are not related to window position
|
// filter out attributes that are not related to window position
|
||||||
// and column resizing
|
// and column resizing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user