remove unused variables
This commit is contained in:
parent
cfa55d958a
commit
c7facfd4d4
|
@ -29,7 +29,6 @@ DIALOG_TUNING_PATTERN_PROPERTIES::DIALOG_TUNING_PATTERN_PROPERTIES( PCB_BASE_EDI
|
||||||
PNS::ROUTER_MODE aMeanderType,
|
PNS::ROUTER_MODE aMeanderType,
|
||||||
const DRC_CONSTRAINT& aConstraint ) :
|
const DRC_CONSTRAINT& aConstraint ) :
|
||||||
DIALOG_TUNING_PATTERN_PROPERTIES_BASE( aFrame ),
|
DIALOG_TUNING_PATTERN_PROPERTIES_BASE( aFrame ),
|
||||||
m_frame( aFrame ),
|
|
||||||
m_constraint( aConstraint ),
|
m_constraint( aConstraint ),
|
||||||
m_targetLength( aFrame, m_targetLengthLabel, m_targetLengthCtrl, m_targetLengthUnits ),
|
m_targetLength( aFrame, m_targetLengthLabel, m_targetLengthCtrl, m_targetLengthUnits ),
|
||||||
m_minA( aFrame, m_track_minALabel, m_minACtrl, m_minAUnits ),
|
m_minA( aFrame, m_track_minALabel, m_minACtrl, m_minAUnits ),
|
||||||
|
|
|
@ -51,7 +51,6 @@ private:
|
||||||
void onOverrideCustomRules( wxCommandEvent& event ) override;
|
void onOverrideCustomRules( wxCommandEvent& event ) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
PCB_BASE_EDIT_FRAME* m_frame;
|
|
||||||
const DRC_CONSTRAINT& m_constraint;
|
const DRC_CONSTRAINT& m_constraint;
|
||||||
|
|
||||||
UNIT_BINDER m_targetLength;
|
UNIT_BINDER m_targetLength;
|
||||||
|
|
|
@ -252,7 +252,6 @@ bool ITEM::collideSimple( const ITEM* aHead, const NODE* aNode,
|
||||||
obs.m_clearance = clearance;
|
obs.m_clearance = clearance;
|
||||||
obs.m_distFirst = 0;
|
obs.m_distFirst = 0;
|
||||||
obs.m_maxFanoutWidth = 0;
|
obs.m_maxFanoutWidth = 0;
|
||||||
obs.m_violatingConstraint = CONSTRAINT_TYPE::CT_CLEARANCE;
|
|
||||||
aCtx->obstacles.insert( obs );
|
aCtx->obstacles.insert( obs );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -93,8 +93,6 @@ struct OBSTACLE
|
||||||
int m_distFirst; ///< ... and the distance thereof
|
int m_distFirst; ///< ... and the distance thereof
|
||||||
int m_maxFanoutWidth; ///< worst case (largest) width of the tracks connected to the item
|
int m_maxFanoutWidth; ///< worst case (largest) width of the tracks connected to the item
|
||||||
|
|
||||||
CONSTRAINT_TYPE m_violatingConstraint;
|
|
||||||
|
|
||||||
bool operator==(const OBSTACLE& other) const
|
bool operator==(const OBSTACLE& other) const
|
||||||
{
|
{
|
||||||
return m_head == other.m_head && m_item == other.m_item;
|
return m_head == other.m_head && m_item == other.m_item;
|
||||||
|
|
Loading…
Reference in New Issue