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; }