From d807ab3089440ee99336ad8ec112ebcb18a62b1a Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Fri, 26 Aug 2022 20:12:00 -0400 Subject: [PATCH] Fix unused var warnings --- gerbview/excellon_read_drill_file.cpp | 2 +- gerbview/readgerb.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gerbview/excellon_read_drill_file.cpp b/gerbview/excellon_read_drill_file.cpp index fd7976bc77..a6b0511199 100644 --- a/gerbview/excellon_read_drill_file.cpp +++ b/gerbview/excellon_read_drill_file.cpp @@ -422,7 +422,7 @@ bool EXCELLON_IMAGE::TestFileIsExcellon( const wxString& aFullFileName ) foundY = true; } } - catch( IO_ERROR& e ) + catch( IO_ERROR& ) { return false; } diff --git a/gerbview/readgerb.cpp b/gerbview/readgerb.cpp index 801a15aa3c..b2c6ed8b1e 100644 --- a/gerbview/readgerb.cpp +++ b/gerbview/readgerb.cpp @@ -208,7 +208,7 @@ bool GERBER_FILE_IMAGE::TestFileIsRS274( const wxString& aFullFileName ) } } } - catch( IO_ERROR& e ) + catch( IO_ERROR& ) { return false; }