Fix a couple of qa warning
This commit is contained in:
parent
c819913687
commit
da38a6e750
|
@ -175,7 +175,7 @@ int playground_main_func( int argc, char* argv[] )
|
|||
vp.Merge( arc.BBox() );
|
||||
}
|
||||
|
||||
printf("Read %lu arcs\n", arcs.size() );
|
||||
printf("Read %zu arcs\n", arcs.size() );
|
||||
|
||||
LABEL_MANAGER labelMgr( frame->GetPanel()->GetGAL() );
|
||||
frame->GetPanel()->GetView()->SetViewport( BOX2D( vp.GetOrigin(), vp.GetSize() ) );
|
||||
|
|
|
@ -440,7 +440,7 @@ static BOARD* loadBoard( const std::string& filename )
|
|||
{
|
||||
brd = pi->Load( wxString( filename.c_str() ), nullptr, nullptr );
|
||||
}
|
||||
catch( const IO_ERROR& ioe )
|
||||
catch( const IO_ERROR& )
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue