From a9ca1e99304dc550ff2be2d988ccc96748571a1a Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Sun, 11 Jun 2017 03:54:25 +0200 Subject: [PATCH] Remove unreferenced local variables --- 3d-viewer/3d_canvas/eda_3d_canvas.cpp | 1 - pcbnew/footprint_preview_panel.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/3d-viewer/3d_canvas/eda_3d_canvas.cpp b/3d-viewer/3d_canvas/eda_3d_canvas.cpp index ab997426aa..0306a90482 100644 --- a/3d-viewer/3d_canvas/eda_3d_canvas.cpp +++ b/3d-viewer/3d_canvas/eda_3d_canvas.cpp @@ -603,7 +603,6 @@ void EDA_3D_CANVAS::OnRightClick( wxMouseEvent &event ) wxPoint pos; wxMenu PopUpMenu; wxString msg; - wxMenuItem* item; pos.x = event.GetX(); pos.y = event.GetY(); diff --git a/pcbnew/footprint_preview_panel.cpp b/pcbnew/footprint_preview_panel.cpp index 27602f1360..124c826959 100644 --- a/pcbnew/footprint_preview_panel.cpp +++ b/pcbnew/footprint_preview_panel.cpp @@ -205,7 +205,7 @@ public: if( !aEntry.module ) aEntry.status = FPS_NOT_FOUND; - } catch( const IO_ERROR& ioe ) + } catch( const IO_ERROR& ) { aEntry.status = FPS_NOT_FOUND; }