From da38a6e7508c6539aa9ae35cd6c74b39aa04468d Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 7 Dec 2021 14:53:56 -0800 Subject: [PATCH] Fix a couple of qa warning --- qa/pns/playground.cpp | 2 +- qa/pns/pns_log_viewer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/pns/playground.cpp b/qa/pns/playground.cpp index 5ba2223589..4c32af7b05 100644 --- a/qa/pns/playground.cpp +++ b/qa/pns/playground.cpp @@ -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() ) ); diff --git a/qa/pns/pns_log_viewer.cpp b/qa/pns/pns_log_viewer.cpp index 3c1b30de2f..bc8ed73282 100644 --- a/qa/pns/pns_log_viewer.cpp +++ b/qa/pns/pns_log_viewer.cpp @@ -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; }