LGTM: [skip ci] fix: Declaration hides parameter

A local variable hides a parameter. This may be confusing. Consider renaming one of them.
This commit is contained in:
wmayer
2020-07-27 10:57:34 +02:00
parent e727cd3754
commit 44f42a8e2c
23 changed files with 153 additions and 141 deletions

View File

@@ -287,9 +287,9 @@ FillingPanel::~FillingPanel()
}
// stores object pointer, its old fill type and adjusts radio buttons according to it.
void FillingPanel::setEditedObject(Surface::Filling* obj)
void FillingPanel::setEditedObject(Surface::Filling* fea)
{
editedObject = obj;
editedObject = fea;
// get the link to the initial surface if set
App::DocumentObject* initFace = editedObject->InitialFace.getValue();

View File

@@ -144,9 +144,9 @@ FillingUnboundPanel::~FillingUnboundPanel()
}
// stores object pointer, its old fill type and adjusts radio buttons according to it.
void FillingUnboundPanel::setEditedObject(Surface::Filling* obj)
void FillingUnboundPanel::setEditedObject(Surface::Filling* fea)
{
editedObject = obj;
editedObject = fea;
// get the unbound edges, if set their adjacent faces and continuities
auto objects = editedObject->UnboundEdges.getValues();