kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #34497
[PATCH] Avoid shadowed variable
---
pcbnew/dialogs/dialog_plot.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp
index e760c0443..18f533316 100644
--- a/pcbnew/dialogs/dialog_plot.cpp
+++ b/pcbnew/dialogs/dialog_plot.cpp
@@ -868,7 +868,6 @@ void DIALOG_PLOT::Plot( wxCommandEvent& event )
LOCALE_IO toggle;
- BOARD* board = m_parent->GetBoard();
PLOTTER* plotter = StartPlotBoard( board, &m_plotOpts, layer, fn.GetFullPath(), wxEmptyString );
// Print diags in messages box:
Follow ups