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:
Chris Pavlina 2016-01-09 16:59:01 -05:00
parent c1b8a01e03
commit 5e36c48012
1 changed files with 0 additions and 4 deletions

View File

@ -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();