From 1fb14cd27494bea26e309c335cbc0e3369bc59b4 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 5 Feb 2026 12:36:41 +0100 Subject: [PATCH] Fix minor compil wranings (unused vars) --- eeschema/dialogs/dialog_plot_schematic.cpp | 1 - pcbnew/dialogs/dialog_plot.cpp | 1 - pcbnew/drc/rule_editor/panel_drc_rule_editor.cpp | 1 - 3 files changed, 3 deletions(-) diff --git a/eeschema/dialogs/dialog_plot_schematic.cpp b/eeschema/dialogs/dialog_plot_schematic.cpp index 1667a45435..c44cd0a2d9 100644 --- a/eeschema/dialogs/dialog_plot_schematic.cpp +++ b/eeschema/dialogs/dialog_plot_schematic.cpp @@ -202,7 +202,6 @@ void DIALOG_PLOT_SCHEMATIC::onOutputDirectoryBrowseClicked( wxCommandEvent& even wxFileName fn( Prj().AbsolutePath( m_editFrame->Schematic().Root().GetFileName() ) ); wxString defaultPath = fn.GetPathWithSep(); - wxString msg; wxFileName relPathTest; // Used to test if we can make the path relative relPathTest.Assign( dirDialog.GetPath() ); diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp index 608481e97b..f31b124f80 100644 --- a/pcbnew/dialogs/dialog_plot.cpp +++ b/pcbnew/dialogs/dialog_plot.cpp @@ -779,7 +779,6 @@ void DIALOG_PLOT::onOutputDirectoryBrowseClicked( wxCommandEvent& event ) wxFileName fn( Prj().AbsolutePath( m_editFrame->GetBoard()->GetFileName() ) ); wxString defaultPath = fn.GetPathWithSep(); - wxString msg; wxFileName relPathTest; // Used to test if we can make the path relative relPathTest.Assign( dirDialog.GetPath() ); diff --git a/pcbnew/drc/rule_editor/panel_drc_rule_editor.cpp b/pcbnew/drc/rule_editor/panel_drc_rule_editor.cpp index 6bf6edfbe4..af017d1dec 100644 --- a/pcbnew/drc/rule_editor/panel_drc_rule_editor.cpp +++ b/pcbnew/drc/rule_editor/panel_drc_rule_editor.cpp @@ -429,7 +429,6 @@ void PANEL_DRC_RULE_EDITOR::onScintillaCharAdded( wxStyledTextEvent& aEvent ) std::stack sexprs; wxString partial; wxString last; - wxString constraintType; EXPR_CONTEXT_T context = EXPR_CONTEXT_T::NONE; EXPR_CONTEXT_T expr_context = EXPR_CONTEXT_T::NONE;