From 460e6096195231ec97b5d2dc73821f2c2a8e590b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 15 Aug 2023 12:41:32 +0100 Subject: [PATCH] Remove unused variables. --- pcbnew/exporters/step/exporter_step.cpp | 2 -- pcbnew/exporters/step/exporter_step.h | 19 +++++++++---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pcbnew/exporters/step/exporter_step.cpp b/pcbnew/exporters/step/exporter_step.cpp index c21476c8e1..25bcf60fdd 100644 --- a/pcbnew/exporters/step/exporter_step.cpp +++ b/pcbnew/exporters/step/exporter_step.cpp @@ -115,8 +115,6 @@ EXPORTER_STEP::EXPORTER_STEP( BOARD* aBoard, const EXPORTER_STEP_PARAMS& aParams m_error( false ), m_fail( false ), m_warn( false ), - m_hasDrillOrigin( false ), - m_hasGridOrigin( false ), m_board( aBoard ), m_pcbModel( nullptr ), m_boardThickness( DEFAULT_BOARD_THICKNESS_MM ) diff --git a/pcbnew/exporters/step/exporter_step.h b/pcbnew/exporters/step/exporter_step.h index e81d670f47..02c4143816 100644 --- a/pcbnew/exporters/step/exporter_step.h +++ b/pcbnew/exporters/step/exporter_step.h @@ -99,12 +99,11 @@ private: EXPORTER_STEP_PARAMS m_params; std::unique_ptr m_resolver; - bool m_error; - bool m_fail; - bool m_warn; +private: + bool m_error; + bool m_fail; + bool m_warn; - bool m_hasDrillOrigin; - bool m_hasGridOrigin; BOARD* m_board; std::unique_ptr m_pcbModel; @@ -112,13 +111,13 @@ private: /// used to identify items in step file wxString m_pcbBaseName; - double m_boardThickness; + double m_boardThickness; - SHAPE_POLY_SET m_top_copper_shapes; - SHAPE_POLY_SET m_bottom_copper_shapes; + SHAPE_POLY_SET m_top_copper_shapes; + SHAPE_POLY_SET m_bottom_copper_shapes; - KIGFX::COLOR4D m_solderMaskColor; - KIGFX::COLOR4D m_copperColor; + KIGFX::COLOR4D m_solderMaskColor; + KIGFX::COLOR4D m_copperColor; }; #endif