Pcb calculator: remove unused variable

Fixes https://gitlab.com/kicad/code/kicad/issues/3907
This commit is contained in:
Michael Kavanagh 2020-02-23 15:43:15 +00:00 committed by Ian McInerney
parent 7825809b3a
commit daa41c663b
4 changed files with 0 additions and 6 deletions

View File

@ -35,7 +35,6 @@ RECTWAVEGUIDE::RECTWAVEGUIDE() : TRANSLINE()
// Initialize these here variables mainly to avoid warnings from a static analyzer
mur = 0.0; // magnetic permeability of substrate
tanm = 0.0; // Magnetic Loss Tangent
a = 0.0; // width of waveguide
b = 0.0; // height of waveguide
l = 0.0; // length of waveguide
@ -192,7 +191,6 @@ void RECTWAVEGUIDE::get_rectwaveguide_sub()
m_murC = getProperty( MURC_PRM );
m_sigma = 1.0 / getProperty( RHO_PRM );
m_tand = getProperty( TAND_PRM );
tanm = getProperty( TANM_PRM );
}

View File

@ -31,7 +31,6 @@ public: RECTWAVEGUIDE();
private:
double mur; // magnetic permeability of substrate
double tanm; // Magnetic Loss Tangent
double a; // width of waveguide
double b; // height of waveguide
double l; // length of waveguide

View File

@ -42,7 +42,6 @@ enum PRMS_ID
MUR_PRM,
TWISTEDPAIR_EPSILONR_ENV_PRM,
MURC_PRM,
TANM_PRM,
FREQUENCY_PRM,
Z0_PRM,
Z0_E_PRM,

View File

@ -241,8 +241,6 @@ TRANSLINE_IDENT::TRANSLINE_IDENT( enum TRANSLINE_TYPE_ID aType )
AddPrm( new TRANSLINE_PRM( PRM_TYPE_SUBS, MUR_PRM,
_( "mu Rel I:" ), _( "Relative Permeability (mu) of Insulator" ), 1, false ) );
AddPrm( new TRANSLINE_PRM( PRM_TYPE_SUBS, TANM_PRM,
_( "TanM:" ), _( "Magnetic Loss Tangent" ), 0, false ) );
AddPrm( new TRANSLINE_PRM( PRM_TYPE_SUBS, MURC_PRM,
_( "mu Rel C:" ), _( "Relative Permeability (mu) of Conductor" ), 1,
false ) );