[App] LGTM fix - rename loop variable

LGTM complains that the use of "obj" as the loop variable here hides the
parameter "obj". To silence the warning, rename the loop variable.
This commit is contained in:
Chris Hennes
2021-09-18 23:18:51 -05:00
parent 1aeefd99c1
commit ff29bb1453

View File

@@ -1322,8 +1322,8 @@ void LinkBaseExtension::setLink(int index, DocumentObject *obj,
auto objs = getElementListValue();
getElementListProperty()->setValue();
for(auto obj : objs)
detachElement(obj);
for(auto thisObj : objs)
detachElement(thisObj);
return;
}