diff --git a/pcbnew/dialogs/dialog_tuning_pattern_properties.cpp b/pcbnew/dialogs/dialog_tuning_pattern_properties.cpp index 708164fab8..44aa34bf78 100644 --- a/pcbnew/dialogs/dialog_tuning_pattern_properties.cpp +++ b/pcbnew/dialogs/dialog_tuning_pattern_properties.cpp @@ -29,7 +29,6 @@ DIALOG_TUNING_PATTERN_PROPERTIES::DIALOG_TUNING_PATTERN_PROPERTIES( PCB_BASE_EDI PNS::ROUTER_MODE aMeanderType, const DRC_CONSTRAINT& aConstraint ) : DIALOG_TUNING_PATTERN_PROPERTIES_BASE( aFrame ), - m_frame( aFrame ), m_constraint( aConstraint ), m_targetLength( aFrame, m_targetLengthLabel, m_targetLengthCtrl, m_targetLengthUnits ), m_minA( aFrame, m_track_minALabel, m_minACtrl, m_minAUnits ), diff --git a/pcbnew/dialogs/dialog_tuning_pattern_properties.h b/pcbnew/dialogs/dialog_tuning_pattern_properties.h index a9990e7799..e109b5687a 100644 --- a/pcbnew/dialogs/dialog_tuning_pattern_properties.h +++ b/pcbnew/dialogs/dialog_tuning_pattern_properties.h @@ -51,7 +51,6 @@ private: void onOverrideCustomRules( wxCommandEvent& event ) override; private: - PCB_BASE_EDIT_FRAME* m_frame; const DRC_CONSTRAINT& m_constraint; UNIT_BINDER m_targetLength; diff --git a/pcbnew/router/pns_item.cpp b/pcbnew/router/pns_item.cpp index 2208c763e3..042fe0e497 100644 --- a/pcbnew/router/pns_item.cpp +++ b/pcbnew/router/pns_item.cpp @@ -252,7 +252,6 @@ bool ITEM::collideSimple( const ITEM* aHead, const NODE* aNode, obs.m_clearance = clearance; obs.m_distFirst = 0; obs.m_maxFanoutWidth = 0; - obs.m_violatingConstraint = CONSTRAINT_TYPE::CT_CLEARANCE; aCtx->obstacles.insert( obs ); } else diff --git a/pcbnew/router/pns_node.h b/pcbnew/router/pns_node.h index 8b5b898b58..1e0ee461fb 100644 --- a/pcbnew/router/pns_node.h +++ b/pcbnew/router/pns_node.h @@ -93,8 +93,6 @@ struct OBSTACLE int m_distFirst; ///< ... and the distance thereof int m_maxFanoutWidth; ///< worst case (largest) width of the tracks connected to the item - CONSTRAINT_TYPE m_violatingConstraint; - bool operator==(const OBSTACLE& other) const { return m_head == other.m_head && m_item == other.m_item;