Browse Source

Initialization of the struct pParam with NULL

pre-master-46
dwarning 18 years ago
parent
commit
0f23becb8d
  1. 2
      src/spicelib/devices/bsim3/b3temp.c
  2. 2
      src/spicelib/devices/bsim3soi/b4soitemp.c
  3. 2
      src/spicelib/devices/bsim4/b4temp.c
  4. 2
      src/spicelib/devices/bsim4v2/b4v2temp.c
  5. 2
      src/spicelib/devices/bsim4v3/b4v3temp.c

2
src/spicelib/devices/bsim3/b3temp.c

@ -37,7 +37,7 @@ CKTcircuit *ckt;
{
BSIM3model *model = (BSIM3model*) inModel;
BSIM3instance *here;
struct bsim3SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam;
struct bsim3SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam=NULL;
double tmp, tmp1, tmp2, tmp3, Eg, Eg0, ni, T0, T1, T2, T3, T4, T5, Ldrn, Wdrn;
double delTemp, Temp, TRatio, Inv_L, Inv_W, Inv_LW, Vtm0, Tnom;
double Nvtm, SourceSatCurrent, DrainSatCurrent;

2
src/spicelib/devices/bsim3soi/b4soitemp.c

@ -47,7 +47,7 @@ B4SOItemp(GENmodel *inModel, CKTcircuit *ckt)
{
register B4SOImodel *model = (B4SOImodel*) inModel;
register B4SOIinstance *here;
struct b4soiSizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam;
struct b4soiSizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam=NULL;
double tmp, tmp1, tmp2, Eg, Eg0, ni, T0, T1, T2, T3, T4, T5;
double Ldrn=0.0, Wdrn;
double Temp, TempRatio, Inv_L, Inv_W, Inv_LW, Vtm0, Tnom, TRatio;

2
src/spicelib/devices/bsim4/b4temp.c

@ -78,7 +78,7 @@ CKTcircuit *ckt;
{
BSIM4model *model = (BSIM4model*) inModel;
BSIM4instance *here;
struct bsim4SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam;
struct bsim4SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam=NULL;
double tmp, tmp1, tmp2, tmp3, Eg, Eg0, ni, epssub;
double T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T11, Lnew=0.0, Wnew;
double delTemp, Temp, TRatio, Inv_L, Inv_W, Inv_LW, Vtm0, Tnom;

2
src/spicelib/devices/bsim4v2/b4v2temp.c

@ -58,7 +58,7 @@ CKTcircuit *ckt;
{
BSIM4v2model *model = (BSIM4v2model*) inModel;
BSIM4v2instance *here;
struct bsim4SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam;
struct bsim4SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam=NULL;
double tmp, tmp1, tmp2, tmp3, Eg, Eg0, ni;
double T0, T1, T2, T3, T4, T5, T8, T9, Lnew=0.0, Wnew;
double delTemp, Temp, TRatio, Inv_L, Inv_W, Inv_LW, Vtm0, Tnom;

2
src/spicelib/devices/bsim4v3/b4v3temp.c

@ -60,7 +60,7 @@ CKTcircuit *ckt;
{
BSIM4v3model *model = (BSIM4v3model*) inModel;
BSIM4v3instance *here;
struct bsim4v3SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam;
struct bsim4v3SizeDependParam *pSizeDependParamKnot, *pLastKnot, *pParam=NULL;
double tmp, tmp1, tmp2, tmp3, Eg, Eg0, ni;
double T0, T1, T2, T3, T4, T5, T8, T9, Lnew=0.0, Wnew;
double delTemp, Temp, TRatio, Inv_L, Inv_W, Inv_LW, Vtm0, Tnom;

Loading…
Cancel
Save