Browse Source

bugfix, missing return(OK) in some switch statements

pre-master-46
rlar 16 years ago
parent
commit
83d1de00fe
  1. 7
      ChangeLog
  2. 1
      src/spicelib/devices/hfet1/hfetmask.c
  3. 1
      src/spicelib/devices/hfet2/hfet2mask.c
  4. 1
      src/spicelib/devices/mes/mesmask.c
  5. 1
      src/spicelib/devices/mesa/mesamask.c

7
ChangeLog

@ -1,3 +1,10 @@
2010-10-01 Robert Larice
* src/spicelib/devices/hfet1/hfetmask.c ,
* src/spicelib/devices/hfet2/hfet2mask.c ,
* src/spicelib/devices/mes/mesmask.c ,
* src/spicelib/devices/mesa/mesamask.c :
bugfix, missing return(OK) in some switch statements
2010-09-30 Robert Larice
* configure.ac ,
* src/include/defines.h :

1
src/spicelib/devices/hfet1/hfetmask.c

@ -233,6 +233,7 @@ HFETAmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
value->sValue = "nhfet";
else
value->sValue = "phfet";
return (OK);
default:
return (E_BADPARM);
}

1
src/spicelib/devices/hfet2/hfet2mask.c

@ -148,6 +148,7 @@ HFET2mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
value->sValue = "nhfet";
else
value->sValue = "phfet";
return (OK);
default:
return (E_BADPARM);
}

1
src/spicelib/devices/mes/mesmask.c

@ -73,6 +73,7 @@ MESmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
value->sValue = "nmf";
else
value->sValue = "pmf";
return (OK);
default:
return (E_BADPARM);
}

1
src/spicelib/devices/mesa/mesamask.c

@ -211,6 +211,7 @@ MESAmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
value->sValue = "nmf";
else
value->sValue = "pmf";
return (OK);
default:
return (E_BADPARM);
}

Loading…
Cancel
Save