Gui: Check return value from getDetail()
Coverity issue 251377. Every other use of this method follows this idiom, update the last call to match.
This commit is contained in:
committed by
Kacper Donat
parent
af8a86f6bf
commit
97638e0c82
@@ -1534,8 +1534,9 @@ bool LinkView::linkGetDetailPath(const char *subname, SoFullPath *path, SoDetail
|
||||
return true;
|
||||
|
||||
if(info.isLinked()) {
|
||||
info.linkInfo->getDetail(false,childType,subname,det,path);
|
||||
return true;
|
||||
if (info.linkInfo->getDetail(false,childType,subname,det,path)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(isLinked()) {
|
||||
|
||||
Reference in New Issue
Block a user