Merge pull request #5043 from chennes/lgtmLinkDeclHidesParam
[App] LGTM fix - rename loop variable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user