From 70678fb77ee72ffaa86537cf51a638db84999ee2 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 30 Apr 2011 13:10:51 +0000 Subject: [PATCH] warnings, use NG_IGNORE() --- ChangeLog | 8 ++++++++ src/spicelib/devices/hisimhv/hsmhvask.c | 1 + src/spicelib/devices/hisimhv/hsmhvld.c | 3 +++ src/spicelib/devices/hisimhv/hsmhvmask.c | 3 +++ src/spicelib/devices/hisimhv/hsmhvpar.c | 3 +++ src/spicelib/devices/hisimhv/hsmhvpzld.c | 3 +++ 6 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index a11063751..754bbb00c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-04-30 Robert Larice + * src/spicelib/devices/hisimhv/hsmhvask.c , + * src/spicelib/devices/hisimhv/hsmhvld.c , + * src/spicelib/devices/hisimhv/hsmhvmask.c , + * src/spicelib/devices/hisimhv/hsmhvpar.c , + * src/spicelib/devices/hisimhv/hsmhvpzld.c : + warnings, use NG_IGNORE() + 2011-04-30 Robert Larice * configure.ac : re-enable unused-parameter Warnings diff --git a/src/spicelib/devices/hisimhv/hsmhvask.c b/src/spicelib/devices/hisimhv/hsmhvask.c index 934cacb96..c603b1330 100644 --- a/src/spicelib/devices/hisimhv/hsmhvask.c +++ b/src/spicelib/devices/hisimhv/hsmhvask.c @@ -43,6 +43,7 @@ int HSMHVask( double dQd_nqs_dVds, dQd_nqs_dVgs, dQd_nqs_dVbs, dQd_nqs_dQi_nqs ; double dQg_nqs_dQi_nqs, dQg_nqs_dQb_nqs ; + NG_IGNORE(select); here->HSMHV_csdo = - (here->HSMHV_cddo + here->HSMHV_cgdo + here->HSMHV_cbdo) ; here->HSMHV_csgo = - (here->HSMHV_cdgo + here->HSMHV_cggo + here->HSMHV_cbgo) ; diff --git a/src/spicelib/devices/hisimhv/hsmhvld.c b/src/spicelib/devices/hisimhv/hsmhvld.c index 4013fbd51..0cac3a102 100644 --- a/src/spicelib/devices/hisimhv/hsmhvld.c +++ b/src/spicelib/devices/hisimhv/hsmhvld.c @@ -41,6 +41,9 @@ static void ShowPhysVals ) { + NG_IGNORE(vgd); + NG_IGNORE(vbd); + /* */ /* */ /* Note: This function is not yet adapted to the flat version */ diff --git a/src/spicelib/devices/hisimhv/hsmhvmask.c b/src/spicelib/devices/hisimhv/hsmhvmask.c index 16d457166..3054c1a02 100644 --- a/src/spicelib/devices/hisimhv/hsmhvmask.c +++ b/src/spicelib/devices/hisimhv/hsmhvmask.c @@ -30,7 +30,10 @@ int HSMHVmAsk( int which, IFvalue *value) { + NG_IGNORE(ckt); + HSMHVmodel *model = (HSMHVmodel *)inst; + switch (which) { case HSMHV_MOD_NMOS: value->iValue = model->HSMHV_type; diff --git a/src/spicelib/devices/hisimhv/hsmhvpar.c b/src/spicelib/devices/hisimhv/hsmhvpar.c index 08473de5a..2d43a4338 100644 --- a/src/spicelib/devices/hisimhv/hsmhvpar.c +++ b/src/spicelib/devices/hisimhv/hsmhvpar.c @@ -29,6 +29,9 @@ int HSMHVparam( IFvalue *select) { HSMHVinstance *here = (HSMHVinstance*)inst; + + NG_IGNORE(select); + switch (param) { case HSMHV_COSELFHEAT: here->HSMHV_coselfheat = value->iValue; diff --git a/src/spicelib/devices/hisimhv/hsmhvpzld.c b/src/spicelib/devices/hisimhv/hsmhvpzld.c index d429af55d..0fbd57a71 100644 --- a/src/spicelib/devices/hisimhv/hsmhvpzld.c +++ b/src/spicelib/devices/hisimhv/hsmhvpzld.c @@ -28,8 +28,11 @@ int HSMHVpzLoad( register CKTcircuit *ckt, register SPcomplex *s) { + NG_IGNORE(ckt); + register HSMHVmodel *model = (HSMHVmodel*)inModel; register HSMHVinstance *here; + int flg_nqs =0 ; #define dNode 0