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
26154f3846
commit
a8ec91bf50
@@ -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