Eeschema: remove dead code in autoplace (Coverity)
CID 134043, 134094 in autoplace_fields: variable overwritten due to dead code that should have been removed.
This commit is contained in:
parent
c1b8a01e03
commit
5e36c48012
|
@ -643,10 +643,6 @@ protected:
|
||||||
|
|
||||||
if( aDynamic )
|
if( aDynamic )
|
||||||
{
|
{
|
||||||
if( m_component->GetTransform().y1 )
|
|
||||||
field_height = aField->GetBoundingBox().GetWidth();
|
|
||||||
else
|
|
||||||
field_height = aField->GetBoundingBox().GetHeight();
|
|
||||||
field_height = aField->GetBoundingBox().GetHeight();
|
field_height = aField->GetBoundingBox().GetHeight();
|
||||||
|
|
||||||
padding = get_field_padding();
|
padding = get_field_padding();
|
||||||
|
|
Loading…
Reference in New Issue