hisim2, use NG_IGNORE() (swallow warnings)
This commit is contained in:
parent
debe7f9988
commit
b4d53d56aa
|
|
@ -1,3 +1,7 @@
|
|||
2011-05-22 Robert Larice
|
||||
* src/spicelib/devices/hisim2/* :
|
||||
hisim2, use NG_IGNORE() (swallow warnings)
|
||||
|
||||
2011-05-22 Robert Larice
|
||||
* src/spicelib/devices/hisim2/* :
|
||||
hisim2, remove #include "util.h"
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ int HSM2ask(ckt,inst,which,value,select)
|
|||
{
|
||||
HSM2instance *here = (HSM2instance*)inst;
|
||||
|
||||
NG_IGNORE(select);
|
||||
|
||||
switch (which) {
|
||||
case HSM2_L:
|
||||
value->rValue = here->HSM2_l;
|
||||
|
|
|
|||
|
|
@ -73,6 +73,9 @@ static void ShowPhysVals(here,model,isFirst,vds,vgs,vbs,vgd,vbd,vgb)
|
|||
double vgb;
|
||||
#endif
|
||||
{
|
||||
NG_IGNORE(vgd);
|
||||
NG_IGNORE(vbd);
|
||||
|
||||
/* regard the epsilon-quantity as 0.0 */
|
||||
vds = (fabs(vds) < SHOW_EPS_QUANT) ? 0.0 : vds;
|
||||
vgs = (fabs(vgs) < SHOW_EPS_QUANT) ? 0.0 : vgs;
|
||||
|
|
|
|||
|
|
@ -29,6 +29,9 @@ int HSM2mAsk(ckt,inst,which,value)
|
|||
IFvalue *value;
|
||||
{
|
||||
HSM2model *model = (HSM2model *)inst;
|
||||
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
switch (which) {
|
||||
case HSM2_MOD_NMOS:
|
||||
value->iValue = model->HSM2_type;
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@ int HSM2param(param,value,inst,select)
|
|||
IFvalue *select;
|
||||
{
|
||||
HSM2instance *here = (HSM2instance*)inst;
|
||||
|
||||
NG_IGNORE(select);
|
||||
|
||||
switch (param) {
|
||||
case HSM2_W:
|
||||
here->HSM2_w = value->rValue;
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ int HSM2pzLoad(inModel,ckt,s)
|
|||
double gIdtotg, gIdtotd, gIdtots, gIdtotb;
|
||||
double gIstotg, gIstotd, gIstots, gIstotb;
|
||||
|
||||
NG_IGNORE(ckt);
|
||||
|
||||
for ( ;model != NULL ;model = model->HSM2nextModel ) {
|
||||
for ( here = model->HSM2instances ;here!= NULL ;
|
||||
here = here->HSM2nextInstance ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue