bugfix, missing return(OK) in some switch statements

This commit is contained in:
rlar 2010-10-01 18:06:40 +00:00
parent 1149ad86c4
commit 83d1de00fe
5 changed files with 11 additions and 0 deletions

View File

@ -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 :

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}