Fix a couple of qa warning

This commit is contained in:
Seth Hillbrand 2021-12-07 14:53:56 -08:00
parent c819913687
commit da38a6e750
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ int playground_main_func( int argc, char* argv[] )
vp.Merge( arc.BBox() ); vp.Merge( arc.BBox() );
} }
printf("Read %lu arcs\n", arcs.size() ); printf("Read %zu arcs\n", arcs.size() );
LABEL_MANAGER labelMgr( frame->GetPanel()->GetGAL() ); LABEL_MANAGER labelMgr( frame->GetPanel()->GetGAL() );
frame->GetPanel()->GetView()->SetViewport( BOX2D( vp.GetOrigin(), vp.GetSize() ) ); frame->GetPanel()->GetView()->SetViewport( BOX2D( vp.GetOrigin(), vp.GetSize() ) );

View File

@ -440,7 +440,7 @@ static BOARD* loadBoard( const std::string& filename )
{ {
brd = pi->Load( wxString( filename.c_str() ), nullptr, nullptr ); brd = pi->Load( wxString( filename.c_str() ), nullptr, nullptr );
} }
catch( const IO_ERROR& ioe ) catch( const IO_ERROR& )
{ {
return nullptr; return nullptr;
} }