Fix compil warning

This commit is contained in:
jean-pierre charras 2019-10-19 15:44:40 +02:00
parent 11cf260b7d
commit 846397c692
1 changed files with 1 additions and 4 deletions

View File

@ -910,10 +910,7 @@ void GERBER_PLOTTER::FlashPadRoundRect( const wxPoint& aPadPos, const wxSize& aS
EDA_DRAW_MODE_T aTraceMode, void* aData )
{
GBR_METADATA* gbr_metadata;
if( aData )
gbr_metadata = static_cast<GBR_METADATA*>( aData );
GBR_METADATA* gbr_metadata = static_cast<GBR_METADATA*>( aData );
// Currently, a Pad RoundRect is plotted as polygon.
// TODO: use Aperture macro and flash it