PVS: V547 Expression is always true/false

This commit is contained in:
wmayer
2020-07-17 12:04:49 +02:00
parent 02f45721d6
commit 1b2a7ef6fc
3 changed files with 17 additions and 19 deletions

View File

@@ -80,7 +80,7 @@ Gui::ActiveObjectList::ObjectInfo Gui::ActiveObjectList::getObjectInfo(App::Docu
return info;
if(subname) {
info.obj = obj;
if(subname) info.subname = subname;
info.subname = subname;
}else{
// If the input object is not from this document, it must be brought in
// by some link type object of this document. We only accept the object