Fix build warnings.

This commit is contained in:
Wayne Stambaugh 2023-10-12 10:09:53 -04:00
parent a7d540ce94
commit 50ec069a01
2 changed files with 1 additions and 4 deletions

View File

@ -391,9 +391,6 @@ void HPGL_PLOTTER::Rect( const VECTOR2I& p1, const VECTOR2I& p2, FILL_T aFill, i
{
wxASSERT( m_outputFile );
VECTOR2D p1_device = userToDeviceCoordinates( p1 );
VECTOR2D p2_device = userToDeviceCoordinates( p2 );
// EA command seems to always fill the rectangle, so plot as a polygon instead
std::vector<VECTOR2I> cornerList;

View File

@ -908,7 +908,7 @@ void SCH_EASYEDAPRO_PARSER::ParseSchematic( SCHEMATIC* aSchematic, SCH_SHEET* aR
if( mimeType == wxS( "image/svg+xml" ) )
{
VECTOR2D offset = ScalePosSym( start );
// VECTOR2D offset = ScalePosSym( start );
//SVG_IMPORT_PLUGIN svgImportPlugin;
//GRAPHICS_IMPORTER_LIB_SYMBOL libsymImporter( ksymbol, 0 );