diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp index e760c0443b..18f5333168 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: