Fix warning due to unused angle in EasyEDA Pro schematic parser.
This commit is contained in:
parent
af18e06ea4
commit
1c7e3871b5
|
@ -532,14 +532,14 @@ EASYEDAPRO::SYM_INFO SCH_EASYEDAPRO_PARSER::ParseSymbol( const std::vector<nlohm
|
||||||
{
|
{
|
||||||
VECTOR2D start, size;
|
VECTOR2D start, size;
|
||||||
wxString mimeType, data;
|
wxString mimeType, data;
|
||||||
double angle = 0;
|
//double angle = 0;
|
||||||
int upsideDown = 0;
|
int upsideDown = 0;
|
||||||
|
|
||||||
if( line.at( 3 ).is_number() )
|
if( line.at( 3 ).is_number() )
|
||||||
{
|
{
|
||||||
start = VECTOR2D( line.at( 3 ), line.at( 4 ) );
|
start = VECTOR2D( line.at( 3 ), line.at( 4 ) );
|
||||||
size = VECTOR2D( line.at( 5 ), line.at( 6 ) );
|
size = VECTOR2D( line.at( 5 ), line.at( 6 ) );
|
||||||
angle = line.at( 7 );
|
//angle = line.at( 7 );
|
||||||
upsideDown = line.at( 8 );
|
upsideDown = line.at( 8 );
|
||||||
|
|
||||||
wxString imageUrl = line.at( 9 );
|
wxString imageUrl = line.at( 9 );
|
||||||
|
@ -563,7 +563,7 @@ EASYEDAPRO::SYM_INFO SCH_EASYEDAPRO_PARSER::ParseSymbol( const std::vector<nlohm
|
||||||
|
|
||||||
start = VECTOR2D( line.at( 4 ), line.at( 5 ) );
|
start = VECTOR2D( line.at( 4 ), line.at( 5 ) );
|
||||||
size = VECTOR2D( line.at( 6 ), line.at( 7 ) );
|
size = VECTOR2D( line.at( 6 ), line.at( 7 ) );
|
||||||
angle = line.at( 8 );
|
//angle = line.at( 8 );
|
||||||
data = line.at( 9 ).get<wxString>();
|
data = line.at( 9 ).get<wxString>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue