Merge pull request #5043 from chennes/lgtmLinkDeclHidesParam

[App] LGTM fix - rename loop variable
This commit is contained in:
Chris Hennes
2021-09-18 23:21:11 -05:00
committed by GitHub

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;
}