bugfix, missing return(OK) in some switch statements
This commit is contained in:
parent
1149ad86c4
commit
83d1de00fe
|
|
@ -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 :
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue