Fix compil warning
This commit is contained in:
parent
11cf260b7d
commit
846397c692
|
@ -910,10 +910,7 @@ void GERBER_PLOTTER::FlashPadRoundRect( const wxPoint& aPadPos, const wxSize& aS
|
||||||
EDA_DRAW_MODE_T aTraceMode, void* aData )
|
EDA_DRAW_MODE_T aTraceMode, void* aData )
|
||||||
|
|
||||||
{
|
{
|
||||||
GBR_METADATA* gbr_metadata;
|
GBR_METADATA* gbr_metadata = static_cast<GBR_METADATA*>( aData );
|
||||||
|
|
||||||
if( aData )
|
|
||||||
gbr_metadata = static_cast<GBR_METADATA*>( aData );
|
|
||||||
|
|
||||||
// Currently, a Pad RoundRect is plotted as polygon.
|
// Currently, a Pad RoundRect is plotted as polygon.
|
||||||
// TODO: use Aperture macro and flash it
|
// TODO: use Aperture macro and flash it
|
||||||
|
|
Loading…
Reference in New Issue