Browse Source

warnings, use NG_IGNORE()

pre-master-46
rlar 15 years ago
parent
commit
70678fb77e
  1. 8
      ChangeLog
  2. 1
      src/spicelib/devices/hisimhv/hsmhvask.c
  3. 3
      src/spicelib/devices/hisimhv/hsmhvld.c
  4. 3
      src/spicelib/devices/hisimhv/hsmhvmask.c
  5. 3
      src/spicelib/devices/hisimhv/hsmhvpar.c
  6. 3
      src/spicelib/devices/hisimhv/hsmhvpzld.c

8
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 2011-04-30 Robert Larice
* configure.ac : * configure.ac :
re-enable unused-parameter Warnings re-enable unused-parameter Warnings

1
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 dQd_nqs_dVds, dQd_nqs_dVgs, dQd_nqs_dVbs, dQd_nqs_dQi_nqs ;
double dQg_nqs_dQi_nqs, dQg_nqs_dQb_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_csdo = - (here->HSMHV_cddo + here->HSMHV_cgdo + here->HSMHV_cbdo) ;
here->HSMHV_csgo = - (here->HSMHV_cdgo + here->HSMHV_cggo + here->HSMHV_cbgo) ; here->HSMHV_csgo = - (here->HSMHV_cdgo + here->HSMHV_cggo + here->HSMHV_cbgo) ;

3
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 */ /* Note: This function is not yet adapted to the flat version */

3
src/spicelib/devices/hisimhv/hsmhvmask.c

@ -30,7 +30,10 @@ int HSMHVmAsk(
int which, int which,
IFvalue *value) IFvalue *value)
{ {
NG_IGNORE(ckt);
HSMHVmodel *model = (HSMHVmodel *)inst; HSMHVmodel *model = (HSMHVmodel *)inst;
switch (which) { switch (which) {
case HSMHV_MOD_NMOS: case HSMHV_MOD_NMOS:
value->iValue = model->HSMHV_type; value->iValue = model->HSMHV_type;

3
src/spicelib/devices/hisimhv/hsmhvpar.c

@ -29,6 +29,9 @@ int HSMHVparam(
IFvalue *select) IFvalue *select)
{ {
HSMHVinstance *here = (HSMHVinstance*)inst; HSMHVinstance *here = (HSMHVinstance*)inst;
NG_IGNORE(select);
switch (param) { switch (param) {
case HSMHV_COSELFHEAT: case HSMHV_COSELFHEAT:
here->HSMHV_coselfheat = value->iValue; here->HSMHV_coselfheat = value->iValue;

3
src/spicelib/devices/hisimhv/hsmhvpzld.c

@ -28,8 +28,11 @@ int HSMHVpzLoad(
register CKTcircuit *ckt, register CKTcircuit *ckt,
register SPcomplex *s) register SPcomplex *s)
{ {
NG_IGNORE(ckt);
register HSMHVmodel *model = (HSMHVmodel*)inModel; register HSMHVmodel *model = (HSMHVmodel*)inModel;
register HSMHVinstance *here; register HSMHVinstance *here;
int flg_nqs =0 ; int flg_nqs =0 ;
#define dNode 0 #define dNode 0

Loading…
Cancel
Save