From 80286e003221ef58c073d54af2aa293fd1128286 Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 16 Nov 2010 19:11:32 +0000 Subject: [PATCH] pour `IGNORE()' all over the source --- ChangeLog | 4 ++ src/ciderlib/oned/onesetup.c | 1 + src/ciderlib/twod/twoadmit.c | 4 ++ src/ciderlib/twod/twocond.c | 4 ++ src/ciderlib/twod/twocurr.c | 2 + src/ciderlib/twod/twofield.c | 2 + src/ciderlib/twod/twomobfn.c | 8 +++ src/frontend/arg.c | 2 + src/frontend/aspice.c | 5 ++ src/frontend/breakp.c | 2 + src/frontend/com_dump.c | 2 + src/frontend/com_measure2.c | 3 + src/frontend/com_rehash.c | 2 + src/frontend/com_state.c | 2 + src/frontend/com_sysinfo.c | 2 + src/frontend/device.c | 14 ++++ src/frontend/error.c | 1 + src/frontend/fourier.c | 3 + src/frontend/gens.c | 2 + src/frontend/help/textdisp.c | 2 + src/frontend/help/x11disp.c | 12 ++++ src/frontend/help/xdisplay.c | 7 +- src/frontend/inpcom.c | 2 + src/frontend/misccoms.c | 2 + src/frontend/mw_coms.c | 2 + src/frontend/numparam/spicenum.c | 1 + src/frontend/numparam/xpressn.c | 2 + src/frontend/nutinp.c | 7 ++ src/frontend/nutmegif.c | 10 ++- src/frontend/outitf.c | 18 +++++ src/frontend/parse-bison.y | 5 +- src/frontend/parse.c | 1 + src/frontend/parser/complete.c | 5 ++ src/frontend/parser/unixcom.c | 5 +- src/frontend/plotting/agraf.c | 3 + src/frontend/plotting/gnuplot.c | 8 +++ src/frontend/plotting/graf.c | 2 + src/frontend/plotting/grid.c | 5 ++ src/frontend/plotting/plot5.c | 1 + src/frontend/plotting/x11.c | 25 +++++++ src/frontend/runcoms.c | 4 ++ src/frontend/runcoms2.c | 4 ++ src/frontend/signal_handler.c | 2 + src/frontend/spiceif.c | 10 +++ src/frontend/where.c | 2 + src/main.c | 70 +++++++++++++++++-- src/maths/cmaths/cmath2.c | 11 +++ src/maths/sparse/spsmp.c | 15 ++++ src/ngnutmeg.c | 1 + src/ngsconvert.c | 25 ++++--- src/spicelib/analysis/acaskq.c | 2 + src/spicelib/analysis/acsetp.c | 2 + src/spicelib/analysis/cktacct.c | 2 + src/spicelib/analysis/cktaskaq.c | 2 + src/spicelib/analysis/cktasknq.c | 3 + src/spicelib/analysis/cktdelt.c | 3 + src/spicelib/analysis/cktdlti.c | 3 + src/spicelib/analysis/cktfnda.c | 4 ++ src/spicelib/analysis/cktftask.c | 4 ++ src/spicelib/analysis/cktmask.c | 3 + src/spicelib/analysis/cktmknod.c | 2 + src/spicelib/analysis/cktmpar.c | 3 + src/spicelib/analysis/cktnewan.c | 2 + src/spicelib/analysis/cktntask.c | 2 + src/spicelib/analysis/cktop.c | 4 ++ src/spicelib/analysis/cktparam.c | 3 + src/spicelib/analysis/cktpmnam.c | 2 + src/spicelib/analysis/cktpname.c | 2 + src/spicelib/analysis/cktpzstr.c | 2 + src/spicelib/analysis/cktsens.c | 4 ++ src/spicelib/analysis/cktsetap.c | 3 + src/spicelib/analysis/cktsetnp.c | 3 + src/spicelib/analysis/cktsgen.c | 3 + src/spicelib/analysis/cktsopt.c | 2 + src/spicelib/analysis/daskq.c | 2 + src/spicelib/analysis/dcoaskq.c | 4 ++ src/spicelib/analysis/dcop.c | 2 + src/spicelib/analysis/dcosetp.c | 4 ++ src/spicelib/analysis/dctaskq.c | 3 + src/spicelib/analysis/dctsetp.c | 3 + src/spicelib/analysis/distoan.c | 2 + src/spicelib/analysis/dkerproc.c | 2 + src/spicelib/analysis/dsetparm.c | 2 + src/spicelib/analysis/naskq.c | 2 + src/spicelib/analysis/nsetparm.c | 2 + src/spicelib/analysis/pzan.c | 2 + src/spicelib/analysis/pzsetp.c | 2 + src/spicelib/analysis/sensaskq.c | 2 + src/spicelib/analysis/senssetp.c | 2 + src/spicelib/analysis/tfanal.c | 1 + src/spicelib/analysis/tfaskq.c | 4 ++ src/spicelib/analysis/tfsetp.c | 2 + src/spicelib/analysis/tranaskq.c | 2 + src/spicelib/analysis/transetp.c | 2 + src/spicelib/devices/asrc/asrcacld.c | 2 + src/spicelib/devices/asrc/asrcask.c | 2 + src/spicelib/devices/asrc/asrcpar.c | 3 + src/spicelib/devices/asrc/asrcpzld.c | 2 + src/spicelib/devices/asrc/asrcset.c | 2 + src/spicelib/devices/bjt/bjtmask.c | 2 + src/spicelib/devices/bjt/bjtparam.c | 2 + src/spicelib/devices/bjt2/bjt2mask.c | 2 + src/spicelib/devices/bjt2/bjt2param.c | 2 + src/spicelib/devices/bsim1/b1ask.c | 2 + src/spicelib/devices/bsim1/b1mask.c | 3 + src/spicelib/devices/bsim1/b1par.c | 3 + src/spicelib/devices/bsim1/b1temp.c | 2 + src/spicelib/devices/bsim2/b2ask.c | 2 + src/spicelib/devices/bsim2/b2mask.c | 3 + src/spicelib/devices/bsim2/b2par.c | 3 + src/spicelib/devices/bsim2/b2temp.c | 2 + src/spicelib/devices/bsim3/b3ask.c | 2 + src/spicelib/devices/bsim3/b3check.c | 2 + src/spicelib/devices/bsim3/b3mask.c | 3 + src/spicelib/devices/bsim3/b3par.c | 2 + src/spicelib/devices/bsim3soi/b4soiask.c | 2 + src/spicelib/devices/bsim3soi/b4soicheck.c | 2 + src/spicelib/devices/bsim3soi/b4soimask.c | 3 + src/spicelib/devices/bsim3soi/b4soipar.c | 3 + src/spicelib/devices/bsim3soi/b4soipzld.c | 3 + src/spicelib/devices/bsim3soi_dd/b3soiddask.c | 2 + .../devices/bsim3soi_dd/b3soiddcheck.c | 2 + src/spicelib/devices/bsim3soi_dd/b3soiddld.c | 3 + .../devices/bsim3soi_dd/b3soiddmask.c | 3 + src/spicelib/devices/bsim3soi_dd/b3soiddpar.c | 3 + .../devices/bsim3soi_dd/b3soiddpzld.c | 2 + src/spicelib/devices/bsim3soi_fd/b3soifdask.c | 2 + .../devices/bsim3soi_fd/b3soifdcheck.c | 2 + src/spicelib/devices/bsim3soi_fd/b3soifdld.c | 3 + .../devices/bsim3soi_fd/b3soifdmask.c | 3 + src/spicelib/devices/bsim3soi_fd/b3soifdpar.c | 3 + .../devices/bsim3soi_fd/b3soifdpzld.c | 2 + src/spicelib/devices/bsim3soi_pd/b3soipdask.c | 2 + .../devices/bsim3soi_pd/b3soipdcheck.c | 2 + .../devices/bsim3soi_pd/b3soipdmask.c | 3 + src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c | 2 + src/spicelib/devices/bsim3soi_pd/b3soipdpar.c | 3 + .../devices/bsim3soi_pd/b3soipdpzld.c | 2 + src/spicelib/devices/bsim3v0/b3v0ask.c | 2 + src/spicelib/devices/bsim3v0/b3v0mask.c | 3 + src/spicelib/devices/bsim3v0/b3v0par.c | 2 + src/spicelib/devices/bsim3v0/b3v0pzld.c | 2 + src/spicelib/devices/bsim3v1/b3v1ask.c | 2 + src/spicelib/devices/bsim3v1/b3v1check.c | 2 + src/spicelib/devices/bsim3v1/b3v1mask.c | 3 + src/spicelib/devices/bsim3v1/b3v1par.c | 2 + src/spicelib/devices/bsim3v1/b3v1pzld.c | 2 + src/spicelib/devices/bsim3v1a/b3v1aask.c | 2 + src/spicelib/devices/bsim3v1a/b3v1amask.c | 3 + src/spicelib/devices/bsim3v1a/b3v1apar.c | 2 + src/spicelib/devices/bsim3v1a/b3v1apzld.c | 2 + src/spicelib/devices/bsim3v1s/b3v1sask.c | 2 + src/spicelib/devices/bsim3v1s/b3v1scheck.c | 2 + src/spicelib/devices/bsim3v1s/b3v1smask.c | 3 + src/spicelib/devices/bsim3v1s/b3v1spar.c | 2 + src/spicelib/devices/bsim3v1s/b3v1spzld.c | 2 + src/spicelib/devices/bsim3v32/b3v32ask.c | 2 + src/spicelib/devices/bsim3v32/b3v32check.c | 2 + src/spicelib/devices/bsim3v32/b3v32mask.c | 3 + src/spicelib/devices/bsim3v32/b3v32par.c | 2 + src/spicelib/devices/bsim4/b4ask.c | 2 + src/spicelib/devices/bsim4/b4geo.c | 5 ++ src/spicelib/devices/bsim4/b4mask.c | 3 + src/spicelib/devices/bsim4/b4par.c | 2 + src/spicelib/devices/bsim4v2/b4v2ask.c | 2 + src/spicelib/devices/bsim4v2/b4v2check.c | 2 + src/spicelib/devices/bsim4v2/b4v2geo.c | 5 ++ src/spicelib/devices/bsim4v2/b4v2mask.c | 3 + src/spicelib/devices/bsim4v2/b4v2par.c | 2 + src/spicelib/devices/bsim4v3/b4v3ask.c | 2 + src/spicelib/devices/bsim4v3/b4v3check.c | 2 + src/spicelib/devices/bsim4v3/b4v3geo.c | 5 ++ src/spicelib/devices/bsim4v3/b4v3mask.c | 3 + src/spicelib/devices/bsim4v3/b4v3par.c | 2 + src/spicelib/devices/bsim4v4/b4v4ask.c | 2 + src/spicelib/devices/bsim4v4/b4v4geo.c | 5 ++ src/spicelib/devices/bsim4v4/b4v4mask.c | 3 + src/spicelib/devices/bsim4v4/b4v4par.c | 2 + src/spicelib/devices/bsim4v5/b4v5ask.c | 2 + src/spicelib/devices/bsim4v5/b4v5geo.c | 5 ++ src/spicelib/devices/bsim4v5/b4v5mask.c | 3 + src/spicelib/devices/bsim4v5/b4v5par.c | 2 + src/spicelib/devices/cap/capmask.c | 3 + src/spicelib/devices/cap/capparam.c | 3 + src/spicelib/devices/cap/cappzld.c | 2 + src/spicelib/devices/cccs/cccsload.c | 2 + src/spicelib/devices/cccs/cccspar.c | 3 + src/spicelib/devices/cccs/cccspzld.c | 3 + src/spicelib/devices/cccs/cccsset.c | 2 + src/spicelib/devices/ccvs/ccvsload.c | 2 + src/spicelib/devices/ccvs/ccvspar.c | 3 + src/spicelib/devices/ccvs/ccvspzld.c | 3 + src/spicelib/devices/ccvs/ccvsset.c | 2 + src/spicelib/devices/cpl/cplask.c | 3 + src/spicelib/devices/cpl/cplload.c | 2 + src/spicelib/devices/cpl/cplmask.c | 3 + src/spicelib/devices/cpl/cplparam.c | 3 + src/spicelib/devices/cpl/cplsetup.c | 7 ++ src/spicelib/devices/csw/cswask.c | 3 + src/spicelib/devices/csw/cswmask.c | 3 + src/spicelib/devices/csw/cswparam.c | 3 + src/spicelib/devices/csw/cswpzld.c | 2 + src/spicelib/devices/dev.c | 1 + src/spicelib/devices/devsup.c | 2 + src/spicelib/devices/dio/diomask.c | 3 + src/spicelib/devices/dio/dioparam.c | 3 + src/spicelib/devices/hfet1/hfetask.c | 3 + src/spicelib/devices/hfet1/hfetmask.c | 3 + src/spicelib/devices/hfet1/hfetparam.c | 3 + src/spicelib/devices/hfet2/hfet2ask.c | 3 + src/spicelib/devices/hfet2/hfet2load.c | 2 + src/spicelib/devices/hfet2/hfet2mask.c | 3 + src/spicelib/devices/hfet2/hfet2param.c | 3 + src/spicelib/devices/hisim/hsm1ask.c | 2 + src/spicelib/devices/hisim/hsm1eval102.c | 1 + src/spicelib/devices/hisim/hsm1eval112.c | 1 + src/spicelib/devices/hisim/hsm1eval120.c | 1 + src/spicelib/devices/hisim/hsm1ld.c | 3 + src/spicelib/devices/hisim/hsm1mask.c | 3 + src/spicelib/devices/hisim/hsm1par.c | 3 + src/spicelib/devices/hisim/hsm1pzld.c | 2 + src/spicelib/devices/hisim/hsm1temp.c | 3 + src/spicelib/devices/ind/indmask.c | 3 + src/spicelib/devices/ind/indparam.c | 3 + src/spicelib/devices/ind/indpzld.c | 2 + src/spicelib/devices/ind/mutparam.c | 3 + src/spicelib/devices/ind/mutpzld.c | 2 + src/spicelib/devices/ind/mutsetup.c | 2 + src/spicelib/devices/ind/mutsprt.c | 2 + src/spicelib/devices/ind/muttemp.c | 2 + src/spicelib/devices/isrc/isrcask.c | 2 + src/spicelib/devices/isrc/isrcpar.c | 3 + src/spicelib/devices/isrc/isrctemp.c | 2 + src/spicelib/devices/jfet/jfetask.c | 3 + src/spicelib/devices/jfet/jfetmask.c | 3 + src/spicelib/devices/jfet/jfetpar.c | 3 + src/spicelib/devices/jfet2/jfet2ask.c | 3 + src/spicelib/devices/jfet2/jfet2mask.c | 3 + src/spicelib/devices/jfet2/jfet2par.c | 3 + src/spicelib/devices/jfet2/psmodel.c | 2 + src/spicelib/devices/ltra/ltraask.c | 3 + src/spicelib/devices/ltra/ltramask.c | 2 + src/spicelib/devices/ltra/ltramisc.c | 5 ++ src/spicelib/devices/ltra/ltrapar.c | 3 + src/spicelib/devices/ltra/ltraset.c | 2 + src/spicelib/devices/ltra/ltratemp.c | 2 + src/spicelib/devices/mes/mesask.c | 3 + src/spicelib/devices/mes/mesmask.c | 3 + src/spicelib/devices/mes/mesparam.c | 3 + src/spicelib/devices/mes/mestemp.c | 2 + src/spicelib/devices/mesa/mesaask.c | 3 + src/spicelib/devices/mesa/mesamask.c | 3 + src/spicelib/devices/mesa/mesaparam.c | 3 + src/spicelib/devices/mos1/mos1mask.c | 3 + src/spicelib/devices/mos1/mos1par.c | 3 + src/spicelib/devices/mos2/mos2mask.c | 3 + src/spicelib/devices/mos2/mos2par.c | 3 + src/spicelib/devices/mos3/mos3mask.c | 3 + src/spicelib/devices/mos3/mos3par.c | 3 + src/spicelib/devices/mos6/mos6mask.c | 3 + src/spicelib/devices/mos6/mos6par.c | 3 + src/spicelib/devices/mos9/mos9mask.c | 3 + src/spicelib/devices/mos9/mos9par.c | 3 + src/spicelib/devices/nbjt/nbjtask.c | 3 + src/spicelib/devices/nbjt/nbjtdump.c | 2 + src/spicelib/devices/nbjt/nbjtmpar.c | 3 + src/spicelib/devices/nbjt/nbjtparm.c | 3 + src/spicelib/devices/nbjt/nbjtpzld.c | 2 + src/spicelib/devices/nbjt2/nbt2ask.c | 3 + src/spicelib/devices/nbjt2/nbt2dump.c | 2 + src/spicelib/devices/nbjt2/nbt2mpar.c | 3 + src/spicelib/devices/nbjt2/nbt2parm.c | 3 + src/spicelib/devices/nbjt2/nbt2pzld.c | 2 + src/spicelib/devices/ndev/ndevacld.c | 2 + src/spicelib/devices/ndev/ndevask.c | 6 ++ src/spicelib/devices/ndev/ndevdump.c | 5 ++ src/spicelib/devices/ndev/ndevload.c | 3 + src/spicelib/devices/ndev/ndevmdel.c | 3 + src/spicelib/devices/ndev/ndevparm.c | 4 ++ src/spicelib/devices/ndev/ndevpzld.c | 3 + src/spicelib/devices/ndev/ndevset.c | 3 + src/spicelib/devices/ndev/ndevtemp.c | 2 + src/spicelib/devices/ndev/ndevtrun.c | 3 + src/spicelib/devices/numd/numdask.c | 2 + src/spicelib/devices/numd/numddump.c | 2 + src/spicelib/devices/numd/numdmpar.c | 3 + src/spicelib/devices/numd/numdparm.c | 3 + src/spicelib/devices/numd/numdpzld.c | 2 + src/spicelib/devices/numd2/nud2ask.c | 3 + src/spicelib/devices/numd2/nud2dump.c | 2 + src/spicelib/devices/numd2/nud2mpar.c | 3 + src/spicelib/devices/numd2/nud2parm.c | 3 + src/spicelib/devices/numd2/nud2pzld.c | 2 + src/spicelib/devices/numos/nummask.c | 3 + src/spicelib/devices/numos/nummdump.c | 2 + src/spicelib/devices/numos/nummmpar.c | 3 + src/spicelib/devices/numos/nummparm.c | 3 + src/spicelib/devices/numos/nummpzld.c | 2 + src/spicelib/devices/res/resload.c | 2 + src/spicelib/devices/res/resmask.c | 2 + src/spicelib/devices/res/resparam.c | 3 + src/spicelib/devices/res/respzld.c | 3 + src/spicelib/devices/res/ressetup.c | 2 + src/spicelib/devices/soi3/soi3ask.c | 2 + src/spicelib/devices/soi3/soi3cap.c | 4 ++ src/spicelib/devices/soi3/soi3mask.c | 3 + src/spicelib/devices/soi3/soi3par.c | 3 + src/spicelib/devices/sw/swask.c | 2 + src/spicelib/devices/sw/swmask.c | 3 + src/spicelib/devices/sw/swparam.c | 3 + src/spicelib/devices/sw/swpzload.c | 2 + src/spicelib/devices/tra/traask.c | 3 + src/spicelib/devices/tra/traparam.c | 3 + src/spicelib/devices/tra/trasetup.c | 2 + src/spicelib/devices/tra/tratemp.c | 2 + src/spicelib/devices/txl/txlask.c | 4 ++ src/spicelib/devices/txl/txlmask.c | 3 + src/spicelib/devices/txl/txlparam.c | 3 + src/spicelib/devices/txl/txlsetup.c | 6 ++ src/spicelib/devices/urc/urcask.c | 4 ++ src/spicelib/devices/urc/urcmask.c | 3 + src/spicelib/devices/urc/urcparam.c | 3 + src/spicelib/devices/urc/urcsetup.c | 3 + src/spicelib/devices/vbic/vbicmask.c | 2 + src/spicelib/devices/vbic/vbicparam.c | 2 + src/spicelib/devices/vccs/vccsload.c | 2 + src/spicelib/devices/vccs/vccspar.c | 3 + src/spicelib/devices/vccs/vccspzld.c | 3 + src/spicelib/devices/vccs/vccsset.c | 3 + src/spicelib/devices/vcvs/vcvsload.c | 2 + src/spicelib/devices/vcvs/vcvspar.c | 3 + src/spicelib/devices/vcvs/vcvspzld.c | 3 + src/spicelib/devices/vcvs/vcvsset.c | 2 + src/spicelib/devices/vsrc/vsrcask.c | 2 + src/spicelib/devices/vsrc/vsrcpar.c | 3 + src/spicelib/devices/vsrc/vsrcpzld.c | 3 + src/spicelib/devices/vsrc/vsrcpzs.c | 2 + src/spicelib/devices/vsrc/vsrcset.c | 2 + src/spicelib/devices/vsrc/vsrctemp.c | 2 + src/spicelib/parser/ifnewuid.c | 2 + src/spicelib/parser/inp2dot.c | 18 +++++ src/spicelib/parser/inpdomod.c | 2 + src/spicelib/parser/inppas3.c | 2 + src/spicelib/parser/inpsymt.c | 2 + src/tclspice.c | 53 ++++++++++++++ src/xspice/evt/evtqueue.c | 1 + src/xspice/evt/evttermi.c | 6 ++ src/xspice/idn/idndig.c | 2 + src/xspice/ipc/ipcsockets.c | 3 + src/xspice/mif/mif_inp2.c | 3 + src/xspice/mif/mifask.c | 2 + src/xspice/mif/mifgetvalue.c | 2 + src/xspice/mif/mifmask.c | 1 + 353 files changed, 1172 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index aeb48ce31..92f3e6a59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-11-16 Robert Larice + * src/**/* : + pour `IGNORE()' all over the source + 2010-11-16 Robert Larice * src/include/ngspice.h : introduce macro `IGNORE(x)', which shall used to mark unused parameters diff --git a/src/ciderlib/oned/onesetup.c b/src/ciderlib/oned/onesetup.c index 31aef6d6f..ad2834f2c 100644 --- a/src/ciderlib/oned/onesetup.c +++ b/src/ciderlib/oned/onesetup.c @@ -123,6 +123,7 @@ ONEcopyBCinfo(ONEdevice *pDevice, ONEelem *pElem, BDRYcard *bdry, int index) int eIndex; double length; + IGNORE(pDevice); /* First add fixed charge. */ pNode = pElem->pNodes[index]; diff --git a/src/ciderlib/twod/twoadmit.c b/src/ciderlib/twod/twoadmit.c index 0dbdb2280..d4111b6af 100644 --- a/src/ciderlib/twod/twoadmit.c +++ b/src/ciderlib/twod/twoadmit.c @@ -765,6 +765,8 @@ contactAdmittance(TWOdevice *pDevice, TWOcontact *pContact, BOOLEAN delVContact, SPcomplex prod1, prod2, sum; double temp; + IGNORE(pDevice); + CMPLX_ASSIGN_VALUE(yTotal, 0.0, 0.0); numContactNodes = pContact->numNodes; @@ -964,6 +966,8 @@ oxideAdmittance(TWOdevice *pDevice, TWOcontact *pContact, BOOLEAN delVContact, SPcomplex psiAc; SPcomplex prod1, prod2; + IGNORE(pDevice); + CMPLX_ASSIGN_VALUE(yTotal, 0.0, 0.0); numContactNodes = pContact->numNodes; diff --git a/src/ciderlib/twod/twocond.c b/src/ciderlib/twod/twocond.c index 6c9578ee1..5654cc12d 100644 --- a/src/ciderlib/twod/twocond.c +++ b/src/ciderlib/twod/twocond.c @@ -274,6 +274,8 @@ double double gTotal = 0.0; int nInc, pInc; + IGNORE(pDevice); + /* for one carrier the rest of this code relies on appropriate current derivative term to be zero */ if ( !OneCarrier ) { @@ -433,6 +435,8 @@ double double dPsiDv; double gTotal = 0.0; + IGNORE(pDevice); + if ( !tranAnalysis ) { return( gTotal ); } diff --git a/src/ciderlib/twod/twocurr.c b/src/ciderlib/twod/twocurr.c index 44c633aee..896321d93 100644 --- a/src/ciderlib/twod/twocurr.c +++ b/src/ciderlib/twod/twocurr.c @@ -25,6 +25,8 @@ nodeCurrents(TWOelem *pElem, TWOnode *pNode, double *mun, double *mup, double epsL = 0.0, epsR = 0.0, epsT = 0.0, epsB = 0.0; double coeff1, coeff2; + IGNORE(pElem); + /* Find all four neighboring elements */ pElemTL = pNode->pTLElem; pElemTR = pNode->pTRElem; diff --git a/src/ciderlib/twod/twofield.c b/src/ciderlib/twod/twofield.c index 6ef7766c0..33e3e8399 100644 --- a/src/ciderlib/twod/twofield.c +++ b/src/ciderlib/twod/twofield.c @@ -21,6 +21,8 @@ nodeFields(TWOelem *pElem, TWOnode *pNode, double *ex, double *ey) double dxL = 0.0, dxR = 0.0, dyT = 0.0, dyB = 0.0; double ef1, ef2, coeff1, coeff2; + IGNORE(pElem); + /* Find all four neighboring elements */ pElemTL = pNode->pTLElem; pElemTR = pNode->pTRElem; diff --git a/src/ciderlib/twod/twomobfn.c b/src/ciderlib/twod/twomobfn.c index 9551fb8f8..6d4909e8a 100644 --- a/src/ciderlib/twod/twomobfn.c +++ b/src/ciderlib/twod/twomobfn.c @@ -47,6 +47,10 @@ MOBsurfElec(TWOmaterial *info, TWOelem *pElem, double ex, double ey, double dElDWx; /* Lateral Derivative x Component */ double dElDWy; /* Lateral Derivative y Component */ + IGNORE(wx); + IGNORE(wy); + IGNORE(totalConc); + if ( pElem->surface ) { /* replace one field component with surface field */ if ( pElem->direction == 0 ) { ey = es; @@ -247,6 +251,10 @@ MOBsurfHole(TWOmaterial *info, TWOelem *pElem, double ex, double ey, double dElDWx; /* Lateral Derivative x Component */ double dElDWy; /* Lateral Derivative y Component */ + IGNORE(wx); + IGNORE(wy); + IGNORE(totalConc); + if ( pElem->surface ) { /* replace one field component with surface field */ if ( pElem->direction == 0 ) { ey = es; diff --git a/src/frontend/arg.c b/src/frontend/arg.c index 4b58a70f4..b281d481a 100644 --- a/src/frontend/arg.c +++ b/src/frontend/arg.c @@ -96,6 +96,8 @@ void arg_set(wordlist *wl, struct comm *command) void arg_display(wordlist *wl, struct comm *command) { + IGNORE(wl); + IGNORE(command); /* just return; display does the right thing */ diff --git a/src/frontend/aspice.c b/src/frontend/aspice.c index afd724ecb..ebf5b73d1 100644 --- a/src/frontend/aspice.c +++ b/src/frontend/aspice.c @@ -156,6 +156,8 @@ com_jobs(wordlist *wl) { struct proc *p; + IGNORE(wl); + for (p = running; p; p = p->pr_next) fprintf(cp_out, "%d\t%.70s\n", p->pr_pid, p->pr_name); return; @@ -414,6 +416,7 @@ void com_aspice( wordlist *wl) { + IGNORE(wl); fprintf(cp_err, "Asynchronous spice jobs are not available.\n"); return; } @@ -422,6 +425,7 @@ void com_jobs( wordlist *wl) { + IGNORE(wl); fprintf(cp_err, "Asynchronous spice jobs are not available.\n"); return; } @@ -436,6 +440,7 @@ void com_rspice( wordlist *wl) { + IGNORE(wl); fprintf(cp_err, "Remote spice jobs are not available.\n"); return; } diff --git a/src/frontend/breakp.c b/src/frontend/breakp.c index af173aa34..889c8e539 100644 --- a/src/frontend/breakp.c +++ b/src/frontend/breakp.c @@ -205,6 +205,8 @@ com_sttus(wordlist *wl) { struct dbcomm *d, *dc; + IGNORE(wl); + for (d = dbs; d; d = d->db_next) { if (d->db_type == DB_TRACENODE) { if (isatty(fileno(cp_out))) diff --git a/src/frontend/com_dump.c b/src/frontend/com_dump.c index cf9441bce..cb91eee20 100644 --- a/src/frontend/com_dump.c +++ b/src/frontend/com_dump.c @@ -13,6 +13,8 @@ void com_dump(wordlist *wl) { + IGNORE(wl); + if (!ft_curckt || !ft_curckt->ci_ckt) { fprintf(cp_err, "Error: no circuit loaded.\n"); return; diff --git a/src/frontend/com_measure2.c b/src/frontend/com_measure2.c index c9152bd37..4017c946d 100644 --- a/src/frontend/com_measure2.c +++ b/src/frontend/com_measure2.c @@ -951,6 +951,9 @@ static void measure_ERR3(void) { } void com_dotmeasure(wordlist *wl) { + + IGNORE(wl); + /* simulation info */ // printf("*%s\n", plot_cur->pl_title); // printf("\t %s, %s\n", plot_cur->pl_name, plot_cur->pl_date); // missing temp diff --git a/src/frontend/com_rehash.c b/src/frontend/com_rehash.c index f7804a8c7..de8072d9c 100644 --- a/src/frontend/com_rehash.c +++ b/src/frontend/com_rehash.c @@ -17,6 +17,8 @@ com_rehash(wordlist *wl) { char *s; + IGNORE(wl); + if (!cp_dounixcom) { fprintf(cp_err, "Error: unixcom not set.\n"); return; diff --git a/src/frontend/com_state.c b/src/frontend/com_state.c index 1e80ed651..82d8302f8 100644 --- a/src/frontend/com_state.c +++ b/src/frontend/com_state.c @@ -14,6 +14,8 @@ void com_state(wordlist *wl) { + IGNORE(wl); + if (!ft_curckt) { fprintf(cp_err, "Error: no circuit loaded.\n"); return; diff --git a/src/frontend/com_sysinfo.c b/src/frontend/com_sysinfo.c index 1e8df3f7a..ffa15bee1 100644 --- a/src/frontend/com_sysinfo.c +++ b/src/frontend/com_sysinfo.c @@ -90,6 +90,8 @@ void com_sysinfo(wordlist *wl) int errorcode; TesSystemInfo* info; + IGNORE(wl); + info = TMALLOC(TesSystemInfo, 1); errorcode = tesCreateSystemInfo(info); diff --git a/src/frontend/device.c b/src/frontend/device.c index ed060be6e..fe808110e 100644 --- a/src/frontend/device.c +++ b/src/frontend/device.c @@ -403,6 +403,9 @@ all_show_old(wordlist *wl, int mode) int printstr_n(dgen *dg, IFparm *p, int i) { + IGNORE(p); + IGNORE(i); + if (dg->instance) fprintf(cp_out," %*.*s", DEV_WIDTH, DEV_WIDTH, dg->instance->GENname); else @@ -413,6 +416,9 @@ printstr_n(dgen *dg, IFparm *p, int i) int printstr_m(dgen *dg, IFparm *p, int i) { + IGNORE(p); + IGNORE(i); + if (dg->model) fprintf(cp_out," %*.*s", DEV_WIDTH, DEV_WIDTH, dg->model->GENmodName); else @@ -567,12 +573,20 @@ listparam(wordlist *p, dgen *dg) int bogus1(dgen *dg, IFparm *p, int i) { + IGNORE(dg); + IGNORE(p); + IGNORE(i); + fprintf(cp_out," %*s", DEV_WIDTH, "---------"); return 0; } int bogus2(dgen *dg, IFparm *p, int i) { + IGNORE(dg); + IGNORE(p); + IGNORE(i); + fprintf(cp_out," %*s", DEV_WIDTH, "?????????"); return 0; } diff --git a/src/frontend/error.c b/src/frontend/error.c index 12382a2d5..cf77abb0a 100644 --- a/src/frontend/error.c +++ b/src/frontend/error.c @@ -39,6 +39,7 @@ controlled_exit(int status) void fperror(char *mess, int code) { + IGNORE(code); fprintf(cp_err, "%s: floating point exception.\n", mess); return; } diff --git a/src/frontend/fourier.c b/src/frontend/fourier.c index 6afe537b5..714872f8a 100644 --- a/src/frontend/fourier.c +++ b/src/frontend/fourier.c @@ -262,6 +262,9 @@ CKTfour(int ndata, /* number of entries in the Time and int i; int j; double tmp; + + IGNORE(Time); + /* clear output/computation arrays */ for(i=0;ickt = ckt; dg->instance = NULL; diff --git a/src/frontend/help/textdisp.c b/src/frontend/help/textdisp.c index c92219c1f..c84588579 100644 --- a/src/frontend/help/textdisp.c +++ b/src/frontend/help/textdisp.c @@ -128,6 +128,8 @@ hlp_thandle(topic **parent) void hlp_tkillwin(topic *top) { + IGNORE(top); + if (curtop) curtop = curtop->parent; if (curtop && !quitflag) diff --git a/src/frontend/help/x11disp.c b/src/frontend/help/x11disp.c index 598d72a1b..76d083e9d 100644 --- a/src/frontend/help/x11disp.c +++ b/src/frontend/help/x11disp.c @@ -34,6 +34,9 @@ static Display *display; static void handle_wm_messages(Widget w, XtPointer client_data, XEvent *event, Boolean *cont) { topic *top = (topic *) client_data; + IGNORE(cont); + IGNORE(w); + if (event->type == ClientMessage && event->xclient.message_type == atom_wm_protocols && (Atom) event->xclient.data.l[0] == atom_wm_delete_window) @@ -228,6 +231,9 @@ newtopic(Widget w, caddr_t client_data, caddr_t call_data) toplink *result = ((handle *) client_data)->result; topic *newtop; + IGNORE(call_data); + IGNORE(w); + if (!(newtop = hlp_read(result->place))) { fprintf(stderr, "Internal error: bad link\n"); } @@ -249,6 +255,9 @@ delete(Widget w, caddr_t client_data, caddr_t call_data) topic *top = (topic *) client_data; + IGNORE(call_data); + IGNORE(w); + hlp_killfamily(top); hlp_fixchildren(top); } @@ -259,6 +268,9 @@ quit(Widget w, caddr_t client_data, caddr_t call_data) topic *top = (topic *) client_data, *parent = top->parent; + IGNORE(call_data); + IGNORE(w); + while (parent && parent->parent) parent = parent->parent; hlp_killfamily(parent ? parent : top); } diff --git a/src/frontend/help/xdisplay.c b/src/frontend/help/xdisplay.c index 6b86f85da..d30b14940 100644 --- a/src/frontend/help/xdisplay.c +++ b/src/frontend/help/xdisplay.c @@ -28,7 +28,12 @@ int hlp_buttonstyle = BS_LEFT; /* ARGSUSED */ void hlp_xkillwin(topic *top) { } #endif -/* ARGSUSED */ void hlp_xwait(topic *top, bool on) { } +/* ARGSUSED */ void hlp_xwait(topic *top, bool on) +{ + IGNORE(on); + IGNORE(top); +} + void hlp_xclosedisplay(void) {} toplink * hlp_xhandle(topic **pp) { *pp = NULL; return (NULL); } diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 7ccf27f52..3fc045ccf 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -3144,6 +3144,8 @@ inp_sort_params( struct line *start_card, struct line *end_card, struct line *ca struct line **ptr_array; struct line **ptr_array_ordered; + IGNORE(end_card); + if ( start_card == NULL ) return; /* determine the number of lines with .param */ diff --git a/src/frontend/misccoms.c b/src/frontend/misccoms.c index 996549571..c000398b7 100644 --- a/src/frontend/misccoms.c +++ b/src/frontend/misccoms.c @@ -116,6 +116,8 @@ com_bug(wordlist *wl) { char buf[BSIZE_SP]; + IGNORE(wl); + if (!Bug_Addr || !*Bug_Addr) { fprintf(cp_err, "Error: No address to send bug reports to.\n"); return; diff --git a/src/frontend/mw_coms.c b/src/frontend/mw_coms.c index 7e2cbbd7e..7b37b7c06 100644 --- a/src/frontend/mw_coms.c +++ b/src/frontend/mw_coms.c @@ -31,6 +31,8 @@ com_removecirc(wordlist *wl) char* namecircuit; char buf[80]; + IGNORE(wl); + /* Allocation of a temp wordlist */ wlist = (struct wordlist *)malloc(sizeof(struct wordlist)); diff --git a/src/frontend/numparam/spicenum.c b/src/frontend/numparam/spicenum.c index 31108a69c..e9ef5cef0 100644 --- a/src/frontend/numparam/spicenum.c +++ b/src/frontend/numparam/spicenum.c @@ -925,6 +925,7 @@ nupa_fetchinstance (void) void dump_symbols( tdico *dico_p ) { + IGNORE(dico_p); fprintf (stderr, "Symbol table\n"); nupa_list_params ( stderr ) ; diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index 12c7cd4af..e2117a4aa 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -433,6 +433,8 @@ define (tdico * dico, SPICE_DSTRING vartemp ; /* vairable temp */ NGHASHPTR htable_p ; /* hash table */ + IGNORE(pval); + spice_dstring_init(&vartemp) ; if( dico->stack_depth > 0 ){ diff --git a/src/frontend/nutinp.c b/src/frontend/nutinp.c index 701a136a3..5566e6b7d 100644 --- a/src/frontend/nutinp.c +++ b/src/frontend/nutinp.c @@ -271,5 +271,12 @@ nutinp_source(char *file) void nutinp_dodeck(struct line *deck, char *tt, wordlist *end, bool reuse, struct line *options, char *filename) { + IGNORE(filename); + IGNORE(options); + IGNORE(reuse); + IGNORE(end); + IGNORE(tt); + IGNORE(deck); + /* This was "ifdef notdef"-ed out, so I tossed it */ } diff --git a/src/frontend/nutmegif.c b/src/frontend/nutmegif.c index 7802149cf..4995fd523 100644 --- a/src/frontend/nutmegif.c +++ b/src/frontend/nutmegif.c @@ -14,6 +14,14 @@ struct variable * nutif_getparam(CKTcircuit *ckt, char **name, char *param, int ind, int do_model) -{ return ((struct variable *) NULL); } +{ + IGNORE(do_model); + IGNORE(ind); + IGNORE(param); + IGNORE(name); + IGNORE(ckt); + + return ((struct variable *) NULL); +} diff --git a/src/frontend/outitf.c b/src/frontend/outitf.c index 51b73204e..8c3bc62f1 100644 --- a/src/frontend/outitf.c +++ b/src/frontend/outitf.c @@ -624,12 +624,21 @@ OUTpData(void *plotPtr, IFvalue *refValue, IFvalue *valuePtr) int OUTwReference(void *plotPtr, IFvalue *valuePtr, void **refPtr) { + IGNORE(refPtr); + IGNORE(valuePtr); + IGNORE(plotPtr); + return (OK); } /* ARGSUSED */ /* until some code gets written */ int OUTwData(void *plotPtr, int dataIndex, IFvalue *valuePtr, void *refPtr) { + IGNORE(refPtr); + IGNORE(valuePtr); + IGNORE(dataIndex); + IGNORE(plotPtr); + return (OK); } @@ -637,6 +646,7 @@ OUTwData(void *plotPtr, int dataIndex, IFvalue *valuePtr, void *refPtr) int OUTwEnd(void *plotPtr) { + IGNORE(plotPtr); return (OK); } @@ -669,6 +679,11 @@ OUTendPlot(void *plotPtr) int OUTbeginDomain(void *plotPtr, IFuid refName, int refType, IFvalue *outerRefValue) { + IGNORE(outerRefValue); + IGNORE(refType); + IGNORE(refName); + IGNORE(plotPtr); + return (OK); } @@ -676,6 +691,7 @@ OUTbeginDomain(void *plotPtr, IFuid refName, int refType, IFvalue *outerRefValue int OUTendDomain(void *plotPtr) { + IGNORE(plotPtr); return (OK); } @@ -690,6 +706,8 @@ OUTattributes(void *plotPtr, IFuid varName, int param, IFvalue *value) GRIDTYPE type; int i; + IGNORE(value); + if (param == OUT_SCALE_LIN) type = GRID_LIN; else if (param == OUT_SCALE_LOG) diff --git a/src/frontend/parse-bison.y b/src/frontend/parse-bison.y index 38a1e9e6b..f1fff6da1 100644 --- a/src/frontend/parse-bison.y +++ b/src/frontend/parse-bison.y @@ -163,6 +163,9 @@ exp: static void PPerror (YYLTYPE *locp, char **line, struct pnode **retval, char const *s) { - U(line); U(retval); + IGNORE(locp); + IGNORE(line); + IGNORE(retval); + fprintf (stderr, "%s: %s\n", __func__, s); } diff --git a/src/frontend/parse.c b/src/frontend/parse.c index 5876362cd..a728acb49 100644 --- a/src/frontend/parse.c +++ b/src/frontend/parse.c @@ -526,6 +526,7 @@ char * db_print_pnode_tree(struct pnode *p, char *print) { #if 1 + IGNORE(print); db_print_pnode(stdout, p); return NULL; #else diff --git a/src/frontend/parser/complete.c b/src/frontend/parser/complete.c index 26fb9478b..3c8dd6980 100644 --- a/src/frontend/parser/complete.c +++ b/src/frontend/parser/complete.c @@ -335,6 +335,9 @@ printem(wordlist *wl) void cp_ccom(wordlist *wlist, char *buf, bool esc) { + IGNORE(wlist); + IGNORE(buf); + IGNORE(esc); return; } #endif @@ -569,6 +572,8 @@ cp_kwswitch(int class, char *tree) void cp_ccrestart(bool kwords) { + IGNORE(kwords); + /* Ack. */ return; } diff --git a/src/frontend/parser/unixcom.c b/src/frontend/parser/unixcom.c index ab449511a..ace1c34c9 100644 --- a/src/frontend/parser/unixcom.c +++ b/src/frontend/parser/unixcom.c @@ -239,7 +239,10 @@ cp_hstat(void) void cp_rehash(char *pathlist, bool docc) -{ } +{ + IGNORE(docc); + IGNORE(pathlist); +} bool cp_unixcom(wordlist *wl) diff --git a/src/frontend/plotting/agraf.c b/src/frontend/plotting/agraf.c index 00c293f7d..aea11b031 100644 --- a/src/frontend/plotting/agraf.c +++ b/src/frontend/plotting/agraf.c @@ -45,6 +45,9 @@ ft_agraf(double *xlims, double *ylims, struct dvec *xscale, struct plot *plot, s int i, j, k; int shift; + IGNORE(xdel); + IGNORE(ydel); + IGNORE(ylog); /* ANSI C does not specify how many digits are in an exponent for %c * We assumed it was 2. If it's more, shift starting position over. diff --git a/src/frontend/plotting/gnuplot.c b/src/frontend/plotting/gnuplot.c index d47e9cc80..08f41906c 100644 --- a/src/frontend/plotting/gnuplot.c +++ b/src/frontend/plotting/gnuplot.c @@ -236,6 +236,14 @@ ft_writesimple(double *xlims, double *ylims, char *filename, char *title, char * char filename_data[128]; + IGNORE(xlims); + IGNORE(ylims); + IGNORE(title); + IGNORE(xlabel); + IGNORE(ylabel); + IGNORE(gridtype); + IGNORE(plottype); + sprintf(filename_data, "%s.data", filename); /* Sanity checking. */ diff --git a/src/frontend/plotting/graf.c b/src/frontend/plotting/graf.c index 4ede7d240..ed2baf6db 100644 --- a/src/frontend/plotting/graf.c +++ b/src/frontend/plotting/graf.c @@ -83,6 +83,7 @@ gr_init(double *xlims, double *ylims, /* The size of the screen. */ wordlist *wl; char *comb_title; + IGNORE(nplots); if (!(graph = NewGraph())) { return(FALSE); @@ -442,6 +443,7 @@ drawlegend(GRAPH *graph, int plotno, struct dvec *dv) void gr_end(struct dvec *dv) { + IGNORE(dv); DevUpdate(); } diff --git a/src/frontend/plotting/grid.c b/src/frontend/plotting/grid.c index 920761136..8ea3f3d5d 100644 --- a/src/frontend/plotting/grid.c +++ b/src/frontend/plotting/grid.c @@ -483,6 +483,9 @@ drawlingrid(GRAPH *graph, char *units, int spacing, int nsp, double dst, double double m, step; char buf[LABEL_CHARS]; + IGNORE(onedec); + IGNORE(mult); + /* i counts how many pixels we have drawn, and j counts which unit * we are at. */ @@ -1315,6 +1318,8 @@ arcset(GRAPH *graph, double rad, double prevrad, double irad, double iprevrad, d double iangle = atan2((double) prevrad, (double) irad); int x, xlab, ylab; + IGNORE(nlab); + /* Let's be lazy and just draw everything -- we won't get called too * much and the circles get clipped anyway... */ diff --git a/src/frontend/plotting/plot5.c b/src/frontend/plotting/plot5.c index c4f84819d..0c5258229 100644 --- a/src/frontend/plotting/plot5.c +++ b/src/frontend/plotting/plot5.c @@ -203,6 +203,7 @@ Plt5_SetLinestyle(int linestyleid) int Plt5_SetColor(int colorid) { + IGNORE(colorid); /* do nothing */ return 0; diff --git a/src/frontend/plotting/x11.c b/src/frontend/plotting/x11.c index b2c95fea5..336f5e1a7 100644 --- a/src/frontend/plotting/x11.c +++ b/src/frontend/plotting/x11.c @@ -270,6 +270,8 @@ handlekeypressed(Widget w, caddr_t clientdata, caddr_t calldata) char text[4]; int nbytes; + IGNORE(w); + nbytes = XLookupString(keyev, text, 4, NULL, NULL); if (!nbytes) return; /* write it */ @@ -294,6 +296,8 @@ handlebuttonev(Widget w, caddr_t clientdata, caddr_t calldata) XButtonEvent *buttonev = (XButtonEvent *) calldata; + IGNORE(w); + switch (buttonev->button) { case Button1: slopelocation((GRAPH *) clientdata, buttonev->x, buttonev->y); @@ -309,6 +313,9 @@ handlebuttonev(Widget w, caddr_t clientdata, caddr_t calldata) static void handle_wm_messages(Widget w, XtPointer client_data, XEvent *event, Boolean *cont) { GRAPH *graph = (GRAPH *) client_data; + IGNORE(cont); + IGNORE(w); + if (event->type == ClientMessage && event->xclient.message_type == atom_wm_protocols && (Atom) event->xclient.data.l[0] == atom_wm_delete_window) { @@ -551,6 +558,11 @@ X11_Text(char *text, int x, int y) int X11_DefineColor(int colorid, double red, double green, double blue) { + IGNORE(blue); + IGNORE(green); + IGNORE(red); + IGNORE(colorid); + internalerror("X11_DefineColor not implemented."); return 0; } @@ -559,6 +571,9 @@ X11_DefineColor(int colorid, double red, double green, double blue) int X11_DefineLinestyle(int linestyleid, int mask) { + IGNORE(mask); + IGNORE(linestyleid); + internalerror("X11_DefineLinestyle not implemented."); return 0; } @@ -830,6 +845,9 @@ zoomin(GRAPH *graph) void hardcopy(Widget w, caddr_t client_data, caddr_t call_data) { + IGNORE(call_data); + IGNORE(w); + /* com_hardcopy() -> gr_resize() -> setcolor() dirung postscript printing will act on currentgraph with a DEVDEP inherited from PSdevdep. But currentgraph had not changed its devdep, which was derived from @@ -856,6 +874,9 @@ killwin(Widget w, caddr_t client_data, caddr_t call_data) GRAPH *graph = (GRAPH *) client_data; + IGNORE(call_data); + IGNORE(w); + /* Iplots are done asynchronously */ DEVDEP(graph).isopen = 0; /* MW. Not sure but DestroyGraph might free() to much - try Xt...() first */ @@ -889,6 +910,8 @@ redraw(Widget w, caddr_t client_data, caddr_t call_data) XRectangle rects[30]; int n = 1; + IGNORE(w); + DEVDEP(graph).isopen = 1; @@ -926,6 +949,8 @@ resize(Widget w, caddr_t client_data, caddr_t call_data) GRAPH *graph = (GRAPH *) client_data; XEvent ev; + IGNORE(call_data); + /* pull out all other exposure events Also, get rid of other StructureNotify events on this window. */ diff --git a/src/frontend/runcoms.c b/src/frontend/runcoms.c index 5fabb4491..9dc0b38e9 100644 --- a/src/frontend/runcoms.c +++ b/src/frontend/runcoms.c @@ -383,6 +383,10 @@ ft_dorun(char *file) bool ft_getOutReq(FILE **fpp, struct plot **plotp, bool *binp, char *name, char *title) { + IGNORE(title); + IGNORE(name); + IGNORE(plotp); + if (rawfileFp) { *fpp = rawfileFp; *binp = rawfileBinary; diff --git a/src/frontend/runcoms2.c b/src/frontend/runcoms2.c index f1fb394cc..0e6a43785 100644 --- a/src/frontend/runcoms2.c +++ b/src/frontend/runcoms2.c @@ -52,6 +52,8 @@ com_resume(wordlist *wl) bool ascii = AsciiRawFile; /*end saj*/ + IGNORE(wl); + /*saj fix segment*/ if (!ft_curckt) { fprintf(cp_err, "Error: there aren't any circuits loaded.\n"); @@ -172,6 +174,8 @@ com_rset(wordlist *wl) { struct variable *v, *next; + IGNORE(wl); + if (ft_curckt == NULL) { fprintf(cp_err, "Error: there is no circuit loaded.\n"); return; diff --git a/src/frontend/signal_handler.c b/src/frontend/signal_handler.c index 6e601c1e2..7ccb0617f 100644 --- a/src/frontend/signal_handler.c +++ b/src/frontend/signal_handler.c @@ -87,6 +87,8 @@ ft_sigintr(void) RETSIGTYPE sigfloat(int sig, int code) { + IGNORE(sig); + gr_clean(); fperror("Error", code); rewind(cp_out); diff --git a/src/frontend/spiceif.c b/src/frontend/spiceif.c index 7443b35d4..430b21c31 100644 --- a/src/frontend/spiceif.c +++ b/src/frontend/spiceif.c @@ -536,6 +536,8 @@ fputs("\t(Note that you must use an = to separate option name and value.)\n", void if_dump(CKTcircuit *ckt, FILE *file) { + IGNORE(ckt); + /*void *cc = (void *) ckt;*/ fprintf(file,"diagnostic output dump unavailable."); @@ -618,6 +620,8 @@ spif_getparam_special(CKTcircuit *ckt,char **name,char *param,int ind,int do_mod GENmodel *mod=(GENmodel *)NULL; IFdevice *device; + IGNORE(do_model); + /* fprintf(cp_err, "Calling if_getparam(%s, %s)\n", *name, param); */ if (!param || (param && eq(param, "all"))) @@ -1007,6 +1011,8 @@ parmlookup(IFdevice *dev, GENinstance **inptr, char *param, int do_model, int in { int i; + IGNORE(inptr); + /* First try the device questions... */ if (!do_model && dev->numInstanceParms) { for (i = 0; i < *(dev->numInstanceParms); i++) { @@ -1052,6 +1058,8 @@ doask(CKTcircuit *ckt, int typecode, GENinstance *dev, GENmodel *mod, IFparm *op static IFvalue pv; int err; + IGNORE(typecode); + pv.iValue = ind; /* Sometimes this will be junk and ignored... */ /* fprintf(cp_err, "Calling doask(%d, %x, %x, %x)\n", @@ -1085,6 +1093,8 @@ doset(CKTcircuit *ckt, int typecode, GENinstance *dev, GENmodel *mod, IFparm *op double *dptr; int i; + IGNORE(typecode); + /* Count items */ if (opt->dataType & IF_VECTOR) { n = nval.v.numValue = val->v_length; diff --git a/src/frontend/where.c b/src/frontend/where.c index 24f3f6d3a..a27460f93 100644 --- a/src/frontend/where.c +++ b/src/frontend/where.c @@ -18,6 +18,8 @@ com_where(wordlist *wl) { char *msg; + IGNORE(wl); + /*CDHW typing where with no current circuit caused crashes CDHW*/ if (!ft_curckt) { fprintf(cp_err, "There is no current circuit\n"); diff --git a/src/main.c b/src/main.c index 39947b50e..487817ae4 100644 --- a/src/main.c +++ b/src/main.c @@ -237,6 +237,11 @@ IFfrontEnd nutmeginfo; int if_run(CKTcircuit *t, char *w, wordlist *s, INPtables *b) { + IGNORE(b); + IGNORE(s); + IGNORE(w); + IGNORE(t); + return (0); } @@ -244,18 +249,29 @@ if_run(CKTcircuit *t, char *w, wordlist *s, INPtables *b) int if_sens_run(CKTcircuit *t, wordlist *args, INPtables *tab) { + IGNORE(tab); + IGNORE(args); + IGNORE(t); + return (0); } /* -------------------------------------------------------------------------- */ void if_dump(CKTcircuit *ckt, FILE *fp) -{} +{ + IGNORE(fp); + IGNORE(ckt); + + return; +} /* -------------------------------------------------------------------------- */ CKTcircuit * if_inpdeck(struct line *deck, INPtables **tab) { + IGNORE(tab); + IGNORE(deck); return NULL; } @@ -263,37 +279,69 @@ if_inpdeck(struct line *deck, INPtables **tab) int if_option(CKTcircuit *ckt, char *name, enum cp_types type, void *value) { + IGNORE(value); + IGNORE(type); + IGNORE(name); + IGNORE(ckt); + return 0; } /* -------------------------------------------------------------------------- */ void if_cktfree(CKTcircuit *ckt, INPtables *tab) -{} +{ + IGNORE(tab); + IGNORE(ckt); + + return; +} /* -------------------------------------------------------------------------- */ void if_setndnames(char *line) -{} +{ + IGNORE(line); +} /* -------------------------------------------------------------------------- */ char * if_errstring(int code) { + IGNORE(code); return ("spice error"); } /* -------------------------------------------------------------------------- */ void if_setparam_model(CKTcircuit *ckt, char **name, char *val) -{} +{ + IGNORE(val); + IGNORE(name); + IGNORE(ckt); + + return; +} void if_setparam(CKTcircuit *ckt, char **name, char *param, struct dvec *val, int do_model) -{} +{ + IGNORE(do_model); + IGNORE(val); + IGNORE(param); + IGNORE(name); + IGNORE(ckt); + + return; +} /* -------------------------------------------------------------------------- */ bool if_tranparams(struct circ *ckt, double *start, double *stop, double *step) { + IGNORE(step); + IGNORE(stop); + IGNORE(start); + IGNORE(ckt); + return (FALSE); } @@ -301,6 +349,9 @@ if_tranparams(struct circ *ckt, double *start, double *stop, double *step) struct variable * if_getstat(CKTcircuit *ckt, char *name) { + IGNORE(name); + IGNORE(ckt); + return (NULL); } @@ -322,21 +373,30 @@ Ipc_Status_t ipc_send_errchk(void ) { } Ipc_Status_t ipc_get_line(char *str , int *len , Ipc_Wait_t wait ){ Ipc_Status_t x = IPC_STATUS_OK; + IGNORE(str); + IGNORE(len); + IGNORE(wait); + return(x); } struct line *ENHtranslate_poly(struct line *deck){ + IGNORE(deck); return(NULL); } int load_opus(char *name){ + IGNORE(name); return(1); } char *MIFgettok(char **s){ + IGNORE(s); return(NULL); } void EVTprint(wordlist *wl){ + IGNORE(wl); return; } struct dvec *EVTfindvec(char *node){ + IGNORE(node); return NULL; } #endif /* XSPICE */ diff --git a/src/maths/cmaths/cmath2.c b/src/maths/cmaths/cmath2.c index 375538f98..f2e327367 100644 --- a/src/maths/cmaths/cmath2.c +++ b/src/maths/cmaths/cmath2.c @@ -249,6 +249,8 @@ cx_rnd(void *data, short int type, int length, int *newlength, short int *newtyp void * cx_sunif(void *data, short int type, int length, int *newlength, short int *newtype) { + IGNORE(data); + *newlength = length; checkseed(); if (type == VF_COMPLEX) { @@ -278,6 +280,8 @@ cx_sunif(void *data, short int type, int length, int *newlength, short int *newt void * cx_sgauss(void *data, short int type, int length, int *newlength, short int *newtype) { + IGNORE(data); + *newlength = length; checkseed(); if (type == VF_COMPLEX) { @@ -390,6 +394,9 @@ cx_length(void *data, short int type, int length, int *newlength, short int *new { double *d; + IGNORE(data); + IGNORE(type); + *newlength = 1; *newtype = VF_REAL; d = alloc_d(1); @@ -410,6 +417,8 @@ cx_vector(void *data, short int type, int length, int *newlength, short int *new int i, len; double *d; + IGNORE(length); + if (type == VF_REAL) len = (int)FTEcabs(*dd); else @@ -435,6 +444,8 @@ cx_unitvec(void *data, short int type, int length, int *newlength, short int *ne int i, len; double *d; + IGNORE(length); + if (type == VF_REAL) len = (int)FTEcabs(*dd); else diff --git a/src/maths/sparse/spsmp.c b/src/maths/sparse/spsmp.c index 6b29da0d5..4bd2133b4 100644 --- a/src/maths/sparse/spsmp.c +++ b/src/maths/sparse/spsmp.c @@ -148,6 +148,8 @@ SMPclear(SMPmatrix *Matrix) spClear( Matrix ); } +#define IGNORE(x) (void)x + /* * SMPcLUfac() */ @@ -155,6 +157,8 @@ SMPclear(SMPmatrix *Matrix) int SMPcLUfac(SMPmatrix *Matrix, double PivTol) { + IGNORE(PivTol); + spSetComplex( Matrix ); return spFactor( Matrix ); } @@ -166,6 +170,7 @@ SMPcLUfac(SMPmatrix *Matrix, double PivTol) int SMPluFac(SMPmatrix *Matrix, double PivTol, double Gmin) { + IGNORE(PivTol); spSetReal( Matrix ); LoadGmin( Matrix, Gmin ); return spFactor( Matrix ); @@ -203,6 +208,9 @@ void SMPcaSolve(SMPmatrix *Matrix, double RHS[], double iRHS[], double Spare[], double iSpare[]) { + IGNORE(iSpare); + IGNORE(Spare); + spSolveTransposed( Matrix, RHS, RHS, iRHS, iRHS ); } @@ -213,6 +221,9 @@ void SMPcSolve(SMPmatrix *Matrix, double RHS[], double iRHS[], double Spare[], double iSpare[]) { + IGNORE(iSpare); + IGNORE(Spare); + spSolve( Matrix, RHS, RHS, iRHS, iRHS ); } @@ -222,6 +233,8 @@ SMPcSolve(SMPmatrix *Matrix, double RHS[], double iRHS[], void SMPsolve(SMPmatrix *Matrix, double RHS[], double Spare[]) { + IGNORE(Spare); + spSolve( Matrix, RHS, RHS, (spREAL*)NULL, (spREAL*)NULL ); } @@ -271,6 +284,8 @@ SMPpreOrder(SMPmatrix *Matrix) void SMPprint(SMPmatrix *Matrix, FILE *File) { + IGNORE(File); + spPrint( Matrix, 0, 1, 1 ); } diff --git a/src/ngnutmeg.c b/src/ngnutmeg.c index 128198361..eea6568d0 100644 --- a/src/ngnutmeg.c +++ b/src/ngnutmeg.c @@ -68,6 +68,7 @@ IFsimulator SIMinfo = { void NDEVacct(CKTcircuit *ckt, FILE *file) { +IGNORE(ckt); fprintf(file, "Ouch, you have called NDEV from ngnutmeg\n"); } #endif diff --git a/src/ngsconvert.c b/src/ngsconvert.c index f899327f6..ea11a2e65 100644 --- a/src/ngsconvert.c +++ b/src/ngsconvert.c @@ -437,18 +437,23 @@ void cp_pushcontrol(void) { } void cp_popcontrol(void) { } void out_init(void) { } void cp_doquit(void) { exit(0); } -void cp_usrvars(struct variable **v1, struct variable **v2) { return; } -int cp_evloop(char *s) { return (0); } -void cp_ccon(bool o) { } -char *if_errstring(int c) { return ("error"); } +void cp_usrvars(struct variable **v1, struct variable **v2) { IGNORE(v2); IGNORE(v1); return; } +int cp_evloop(char *s) { IGNORE(s); return (0); } +void cp_ccon(bool o) { IGNORE(o); } +char*if_errstring(int c) { IGNORE(c); return ("error"); } #ifndef out_printf -void out_printf(char *fmt, ...) { } +void out_printf(char *fmt, ...) { IGNORE(fmt); } #endif -void out_send(char *string) {} -struct variable * cp_enqvar(char *word) { return (NULL); } -struct dvec *vec_get(const char *word) { return (NULL); } -void cp_ccom(wordlist *w, char *b, bool e) { return; } -int cp_usrset(struct variable *v, bool i) { return(US_OK); } +void out_send(char *string) { IGNORE(string); } +struct variable * cp_enqvar(char *word) { IGNORE(word); return (NULL); } +struct dvec *vec_get(const char *word) { IGNORE(word); return (NULL); } +void cp_ccom(wordlist *w, char *b, bool e) { + IGNORE(e); + IGNORE(b); + IGNORE(w); return; } +int cp_usrset(struct variable *v, bool i) { + IGNORE(i); + IGNORE(v); return(US_OK); } int disptype; diff --git a/src/spicelib/analysis/acaskq.c b/src/spicelib/analysis/acaskq.c index 696967614..5ba63a4ab 100644 --- a/src/spicelib/analysis/acaskq.c +++ b/src/spicelib/analysis/acaskq.c @@ -16,6 +16,8 @@ Author: 1985 Thomas L. Quarles int ACaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case AC_START: diff --git a/src/spicelib/analysis/acsetp.c b/src/spicelib/analysis/acsetp.c index f4299a6eb..eb0784881 100644 --- a/src/spicelib/analysis/acsetp.c +++ b/src/spicelib/analysis/acsetp.c @@ -15,6 +15,8 @@ Author: 1985 Thomas L. Quarles int ACsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case AC_START: diff --git a/src/spicelib/analysis/cktacct.c b/src/spicelib/analysis/cktacct.c index 410b9efbd..3aa3a7184 100644 --- a/src/spicelib/analysis/cktacct.c +++ b/src/spicelib/analysis/cktacct.c @@ -24,6 +24,8 @@ Author: 1985 Thomas L. Quarles int CKTacct(CKTcircuit *ckt, JOB *anal, int which, IFvalue *val) { + IGNORE(anal); + switch(which) { case OPT_EQNS: diff --git a/src/spicelib/analysis/cktaskaq.c b/src/spicelib/analysis/cktaskaq.c index 8cd4ff415..932be79d0 100644 --- a/src/spicelib/analysis/cktaskaq.c +++ b/src/spicelib/analysis/cktaskaq.c @@ -20,6 +20,8 @@ CKTaskAnalQ(CKTcircuit *ckt, JOB *analPtr, int parm, IFvalue *value, IFvalue *se { int type = analPtr->JOBtype; + IGNORE(selector); + if((analInfo[type]->askQuest) == NULL) return(E_BADPARM); return( (*(analInfo[type]->askQuest))(ckt,analPtr,parm,value)); } diff --git a/src/spicelib/analysis/cktasknq.c b/src/spicelib/analysis/cktasknq.c index 28fc9bf27..3675efb75 100644 --- a/src/spicelib/analysis/cktasknq.c +++ b/src/spicelib/analysis/cktasknq.c @@ -21,6 +21,9 @@ Author: 1985 Thomas L. Quarles int CKTaskNodQst(CKTcircuit *ckt, CKTnode *node, int parm, IFvalue *value, IFvalue *selector) { + IGNORE(ckt); + IGNORE(selector); + if(!node) return(E_BADPARM); switch(parm) { diff --git a/src/spicelib/analysis/cktdelt.c b/src/spicelib/analysis/cktdelt.c index 0fc1d9b11..d712fad67 100644 --- a/src/spicelib/analysis/cktdelt.c +++ b/src/spicelib/analysis/cktdelt.c @@ -17,6 +17,9 @@ CKTdelTask(CKTcircuit *ckt, TSKtask *task) { JOB *job; JOB *old=NULL; + + IGNORE(ckt); + for(job = task->jobs; job; job=job->JOBnextJob){ if(old) FREE(old); old=job; diff --git a/src/spicelib/analysis/cktdlti.c b/src/spicelib/analysis/cktdlti.c index fbafec6d6..396fc196b 100644 --- a/src/spicelib/analysis/cktdlti.c +++ b/src/spicelib/analysis/cktdlti.c @@ -20,5 +20,8 @@ Author: 1985 Thomas L. Quarles int CKTdltInst(CKTcircuit *ckt, void *instance) { + IGNORE(ckt); + IGNORE(instance); + return(E_UNSUPP); } diff --git a/src/spicelib/analysis/cktfnda.c b/src/spicelib/analysis/cktfnda.c index f6c29df2d..227b41c26 100644 --- a/src/spicelib/analysis/cktfnda.c +++ b/src/spicelib/analysis/cktfnda.c @@ -25,6 +25,10 @@ CKTfndAnal(CKTcircuit *ckt, int *analIndex, JOB **anal, IFuid name, TSKtask *inT TSKtask *task = /* fixme, drop that */ inTask; JOB *here; + IGNORE(ckt); + IGNORE(analIndex); + IGNORE(taskName); + for (here = task->jobs; here; here = here->JOBnextJob) { if(strcmp(here->JOBname,name)==0) { if(anal) *anal = here; diff --git a/src/spicelib/analysis/cktftask.c b/src/spicelib/analysis/cktftask.c index b0d828d88..e98eb6093 100644 --- a/src/spicelib/analysis/cktftask.c +++ b/src/spicelib/analysis/cktftask.c @@ -20,5 +20,9 @@ Author: 1985 Thomas L. Quarles int CKTfndTask(CKTcircuit *ckt, TSKtask **taskPtr, IFuid taskName) { + IGNORE(ckt); + IGNORE(taskPtr); + IGNORE(taskName); + return(E_UNSUPP); } diff --git a/src/spicelib/analysis/cktmask.c b/src/spicelib/analysis/cktmask.c index c5df20330..389a528bf 100644 --- a/src/spicelib/analysis/cktmask.c +++ b/src/spicelib/analysis/cktmask.c @@ -19,6 +19,9 @@ int CKTmodAsk(CKTcircuit *ckt, GENmodel *modfast, int which, IFvalue *value, IFvalue *selector) { int type = modfast->GENmodType; + + IGNORE(selector); + if((*DEVices[type]).DEVmodAsk) { return( (*((*DEVices[type]).DEVmodAsk)) (ckt, modfast, which, value) ); diff --git a/src/spicelib/analysis/cktmknod.c b/src/spicelib/analysis/cktmknod.c index 835917a0c..6172f55f2 100644 --- a/src/spicelib/analysis/cktmknod.c +++ b/src/spicelib/analysis/cktmknod.c @@ -21,6 +21,8 @@ CKTmkNode(CKTcircuit *ckt, CKTnode **node) { CKTnode *mynode; + IGNORE(ckt); + mynode = TMALLOC(CKTnode, 1); if(mynode == (CKTnode *)NULL) return(E_NOMEM); mynode->next = (CKTnode *)NULL; diff --git a/src/spicelib/analysis/cktmpar.c b/src/spicelib/analysis/cktmpar.c index cbc538438..81ba4eeb2 100644 --- a/src/spicelib/analysis/cktmpar.c +++ b/src/spicelib/analysis/cktmpar.c @@ -20,6 +20,9 @@ CKTmodParam(CKTcircuit *ckt, GENmodel *modfast, int param, IFvalue *val, IFvalue { int type = modfast->GENmodType; + IGNORE(ckt); + IGNORE(selector); + if (((*DEVices[type]).DEVmodParam)) { return(((*((*DEVices[type]).DEVmodParam)) (param,val, modfast))); diff --git a/src/spicelib/analysis/cktnewan.c b/src/spicelib/analysis/cktnewan.c index 12b140a39..414233f65 100644 --- a/src/spicelib/analysis/cktnewan.c +++ b/src/spicelib/analysis/cktnewan.c @@ -18,6 +18,8 @@ extern SPICEanalysis *analInfo[]; int CKTnewAnal(CKTcircuit *ckt, int type, IFuid name, JOB **analPtr, TSKtask *taskPtr) { + IGNORE(ckt); + if(type==0) { /* special case for analysis type 0 == option card */ *analPtr = &(taskPtr->taskOptions); /* pointer to the task itself */ diff --git a/src/spicelib/analysis/cktntask.c b/src/spicelib/analysis/cktntask.c index 5d18aa5b0..0e19ec1f1 100644 --- a/src/spicelib/analysis/cktntask.c +++ b/src/spicelib/analysis/cktntask.c @@ -24,6 +24,8 @@ CKTnewTask(CKTcircuit *ckt, TSKtask **taskPtr, IFuid taskName, TSKtask **defPtr) { TSKtask *tsk, *def=NULL; + IGNORE(ckt); + *taskPtr = TMALLOC(TSKtask, 1); if(*taskPtr==NULL) return(E_NOMEM); tsk = *taskPtr; diff --git a/src/spicelib/analysis/cktop.c b/src/spicelib/analysis/cktop.c index 1911f73bb..a4e393d7f 100644 --- a/src/spicelib/analysis/cktop.c +++ b/src/spicelib/analysis/cktop.c @@ -393,6 +393,8 @@ gillespie_src (CKTcircuit * ckt, long int firstmode, double *OldRhsOld, *OldCKTstate0; CKTnode *n; + IGNORE(iterlim); + ckt->CKTmode = firstmode; (*(SPfrontEnd->IFerror)) (ERR_INFO, "Starting source stepping", (IFuid *) NULL); @@ -599,6 +601,8 @@ spice3_src (CKTcircuit * ckt, long int firstmode, int converged, i; + IGNORE(iterlim); + ckt->CKTmode = firstmode; (*(SPfrontEnd->IFerror)) (ERR_INFO, "Starting source stepping", (IFuid *) NULL); diff --git a/src/spicelib/analysis/cktparam.c b/src/spicelib/analysis/cktparam.c index ba5424e0a..646c962c4 100644 --- a/src/spicelib/analysis/cktparam.c +++ b/src/spicelib/analysis/cktparam.c @@ -20,6 +20,9 @@ CKTparam(CKTcircuit *ckt, GENinstance *fast, int param, IFvalue *val, IFvalue *s { int type; GENinstance *myfast = /*fixme*/ fast; + + IGNORE(ckt); + type = myfast->GENmodPtr->GENmodType; if(((*DEVices[type]).DEVparam)) { return(((*((*DEVices[type]).DEVparam)) (param,val,myfast,selector))); diff --git a/src/spicelib/analysis/cktpmnam.c b/src/spicelib/analysis/cktpmnam.c index 5f9d227e3..31bddf6b2 100644 --- a/src/spicelib/analysis/cktpmnam.c +++ b/src/spicelib/analysis/cktpmnam.c @@ -31,6 +31,8 @@ CKTpModName(char *parm, IFvalue *val, CKTcircuit *ckt, int type, IFuid name, GEN int error; /* int to store evaluate error return codes in */ int i; + IGNORE(name); + for(i=0;i<(*(*DEVices[type]).DEVpublic.numModelParms);i++) { if(strcmp(parm,((*DEVices[type]).DEVpublic.modelParms[i].keyword))==0){ error = CKTmodParam(ckt, *modfast, diff --git a/src/spicelib/analysis/cktpname.c b/src/spicelib/analysis/cktpname.c index 6bf365585..493748d97 100644 --- a/src/spicelib/analysis/cktpname.c +++ b/src/spicelib/analysis/cktpname.c @@ -33,6 +33,8 @@ CKTpName(char *parm, IFvalue *val, CKTcircuit *ckt, int dev, char *name, GENinst int error; /* int to store evaluate error return codes in */ int i; + IGNORE(name); + for(i=0;i<(*(*DEVices[dev]).DEVpublic.numInstanceParms);i++) { if(strcmp(parm, ((*DEVices[dev]).DEVpublic.instanceParms[i].keyword))==0) { diff --git a/src/spicelib/analysis/cktpzstr.c b/src/spicelib/analysis/cktpzstr.c index 27bb0e4b5..0d9840987 100644 --- a/src/spicelib/analysis/cktpzstr.c +++ b/src/spicelib/analysis/cktpzstr.c @@ -781,6 +781,8 @@ CKTpzVerify(PZtrial **set, PZtrial *new_trial) PZtrial *t, *prev; + IGNORE(set); + NZeros += 1; if (new_trial->s.imag != 0.0) NZeros += 1; diff --git a/src/spicelib/analysis/cktsens.c b/src/spicelib/analysis/cktsens.c index f326f7887..52b248f1f 100644 --- a/src/spicelib/analysis/cktsens.c +++ b/src/spicelib/analysis/cktsens.c @@ -719,6 +719,8 @@ sens_getp(sgen *sg, CKTcircuit *ckt, IFvalue *val) { int pid; + IGNORE(ckt); + error = 0; if (sg->is_instparam) { @@ -763,6 +765,8 @@ sens_setp(sgen *sg, CKTcircuit *ckt, IFvalue *val) { int pid; + IGNORE(ckt); + error = 0; if (sg->is_instparam) { diff --git a/src/spicelib/analysis/cktsetap.c b/src/spicelib/analysis/cktsetap.c index de3e459ae..d6be54e03 100644 --- a/src/spicelib/analysis/cktsetap.c +++ b/src/spicelib/analysis/cktsetap.c @@ -19,6 +19,9 @@ int CKTsetAnalPm(CKTcircuit *ckt, JOB *analPtr, int parm, IFvalue *value, IFvalue *selector) { int type = analPtr->JOBtype; + + IGNORE(selector); + if((analInfo[type]->setParm)==NULL) return(E_BADPARM); return( (*(analInfo[type]->setParm))(ckt,analPtr,parm,value) ); } diff --git a/src/spicelib/analysis/cktsetnp.c b/src/spicelib/analysis/cktsetnp.c index affd68570..5fa5fc42f 100644 --- a/src/spicelib/analysis/cktsetnp.c +++ b/src/spicelib/analysis/cktsetnp.c @@ -20,6 +20,9 @@ Author: 1985 Thomas L. Quarles int CKTsetNodPm(CKTcircuit *ckt, CKTnode *node, int parm, IFvalue *value, IFvalue *selector) { + IGNORE(ckt); + IGNORE(selector); + if(!node) return(E_BADPARM); switch(parm) { diff --git a/src/spicelib/analysis/cktsgen.c b/src/spicelib/analysis/cktsgen.c index 61b97236e..caa3ab97e 100644 --- a/src/spicelib/analysis/cktsgen.c +++ b/src/spicelib/analysis/cktsgen.c @@ -179,16 +179,19 @@ sgen_next(sgen **xsg) int set_inst(sgen *sg) { + IGNORE(sg); return 1; } int set_model(sgen *sg) { + IGNORE(sg); return 1; } int set_dev(sgen *sg) { + IGNORE(sg); return 1; } diff --git a/src/spicelib/analysis/cktsopt.c b/src/spicelib/analysis/cktsopt.c index fdb4487bd..3faaee6f9 100644 --- a/src/spicelib/analysis/cktsopt.c +++ b/src/spicelib/analysis/cktsopt.c @@ -32,6 +32,8 @@ CKTsetOpt(CKTcircuit *ckt, JOB *anal, int opt, IFvalue *val) { TSKtask *task = (TSKtask *)anal; + IGNORE(ckt); + switch(opt) { case OPT_NOOPITER: diff --git a/src/spicelib/analysis/daskq.c b/src/spicelib/analysis/daskq.c index 182274e3e..bdd3ce623 100644 --- a/src/spicelib/analysis/daskq.c +++ b/src/spicelib/analysis/daskq.c @@ -14,6 +14,8 @@ Author: 1988 Jaijeet S Roychowdhury int DaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case D_START: diff --git a/src/spicelib/analysis/dcoaskq.c b/src/spicelib/analysis/dcoaskq.c index cd94a0551..f31997369 100644 --- a/src/spicelib/analysis/dcoaskq.c +++ b/src/spicelib/analysis/dcoaskq.c @@ -14,6 +14,10 @@ Author: 1985 Thomas L. Quarles int DCOaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + IGNORE(anal); + IGNORE(which); + IGNORE(value); return(E_BADPARM); } diff --git a/src/spicelib/analysis/dcop.c b/src/spicelib/analysis/dcop.c index 10e732040..04db2d19e 100644 --- a/src/spicelib/analysis/dcop.c +++ b/src/spicelib/analysis/dcop.c @@ -26,6 +26,8 @@ DCop(CKTcircuit *ckt, int notused) IFuid *nameList; /* va: tmalloc'ed list */ int numNames; void *plot = NULL; + + IGNORE(notused); #ifdef XSPICE /* gtri - add - wbk - 12/19/90 - Add IPC stuff and initialize anal_init and anal_type */ diff --git a/src/spicelib/analysis/dcosetp.c b/src/spicelib/analysis/dcosetp.c index e1fbe5783..9433ecba8 100644 --- a/src/spicelib/analysis/dcosetp.c +++ b/src/spicelib/analysis/dcosetp.c @@ -16,6 +16,10 @@ Author: 1985 Thomas L. Quarles int DCOsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + IGNORE(anal); + IGNORE(value); + switch(which) { default: diff --git a/src/spicelib/analysis/dctaskq.c b/src/spicelib/analysis/dctaskq.c index 4ac0b04cf..d39df4e47 100644 --- a/src/spicelib/analysis/dctaskq.c +++ b/src/spicelib/analysis/dctaskq.c @@ -14,6 +14,9 @@ Author: 1985 Thomas L. Quarles int DCTaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + IGNORE(anal); + IGNORE(value); switch(which) { default: diff --git a/src/spicelib/analysis/dctsetp.c b/src/spicelib/analysis/dctsetp.c index 060af749f..c914c6470 100644 --- a/src/spicelib/analysis/dctsetp.c +++ b/src/spicelib/analysis/dctsetp.c @@ -16,6 +16,9 @@ int DCTsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { TRCV* cv= (TRCV*)anal; + + IGNORE(ckt); + switch(which) { case DCT_START1: diff --git a/src/spicelib/analysis/distoan.c b/src/spicelib/analysis/distoan.c index 903426f92..51cad2529 100644 --- a/src/spicelib/analysis/distoan.c +++ b/src/spicelib/analysis/distoan.c @@ -56,6 +56,8 @@ DISTOan(CKTcircuit *ckt, int restart) double time,time1; #endif + IGNORE(restart); + /* start at beginning */ diff --git a/src/spicelib/analysis/dkerproc.c b/src/spicelib/analysis/dkerproc.c index 887769338..0c6818307 100644 --- a/src/spicelib/analysis/dkerproc.c +++ b/src/spicelib/analysis/dkerproc.c @@ -14,6 +14,8 @@ DkerProc(int type, double *rPtr, double *iPtr, int size, DISTOAN *job) { int i; +IGNORE(job); + switch(type) { case D_F1: diff --git a/src/spicelib/analysis/dsetparm.c b/src/spicelib/analysis/dsetparm.c index a14e874ac..38be2d81c 100644 --- a/src/spicelib/analysis/dsetparm.c +++ b/src/spicelib/analysis/dsetparm.c @@ -15,6 +15,8 @@ Author: 1988 Jaijeet S Roychowdhury int DsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case D_START: diff --git a/src/spicelib/analysis/naskq.c b/src/spicelib/analysis/naskq.c index 1c697f756..272aa117e 100644 --- a/src/spicelib/analysis/naskq.c +++ b/src/spicelib/analysis/naskq.c @@ -13,6 +13,8 @@ Author: 1987 Gary W. Ng int NaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case N_OUTPUT: diff --git a/src/spicelib/analysis/nsetparm.c b/src/spicelib/analysis/nsetparm.c index c16f31c70..231e36806 100644 --- a/src/spicelib/analysis/nsetparm.c +++ b/src/spicelib/analysis/nsetparm.c @@ -14,6 +14,8 @@ Author: 1987 Gary W. Ng int NsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case N_OUTPUT: diff --git a/src/spicelib/analysis/pzan.c b/src/spicelib/analysis/pzan.c index e8aeb250a..6a3e0e935 100644 --- a/src/spicelib/analysis/pzan.c +++ b/src/spicelib/analysis/pzan.c @@ -23,6 +23,8 @@ PZan(CKTcircuit *ckt, int reset) IFuid *nameList; void *plot = NULL; + IGNORE(reset); + error = PZinit(ckt); if (error != OK) return error; diff --git a/src/spicelib/analysis/pzsetp.c b/src/spicelib/analysis/pzsetp.c index 523f752f2..0d10eeebd 100644 --- a/src/spicelib/analysis/pzsetp.c +++ b/src/spicelib/analysis/pzsetp.c @@ -16,6 +16,8 @@ Author: 1985 Thomas L. Quarles int PZsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case PZ_NODEI: diff --git a/src/spicelib/analysis/sensaskq.c b/src/spicelib/analysis/sensaskq.c index 87d58fb24..7b9ffcb0f 100644 --- a/src/spicelib/analysis/sensaskq.c +++ b/src/spicelib/analysis/sensaskq.c @@ -15,6 +15,8 @@ SENSask(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { SENS_AN *sinfo = (SENS_AN *) anal; + IGNORE(ckt); + switch (which) { case SENS_START: diff --git a/src/spicelib/analysis/senssetp.c b/src/spicelib/analysis/senssetp.c index e1333215b..6c261a0d1 100644 --- a/src/spicelib/analysis/senssetp.c +++ b/src/spicelib/analysis/senssetp.c @@ -16,6 +16,8 @@ SENSsetParam(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { SENS_AN *sinfo = (SENS_AN *) anal; + IGNORE(ckt); + switch(which) { case SENS_POS: diff --git a/src/spicelib/analysis/tfanal.c b/src/spicelib/analysis/tfanal.c index 75a57cb4a..25cc5b78c 100644 --- a/src/spicelib/analysis/tfanal.c +++ b/src/spicelib/analysis/tfanal.c @@ -38,6 +38,7 @@ TFanal(CKTcircuit *ckt, int restart) #define inuid (uids[1]) /* unique id for the transfer function input imp. */ #define outuid (uids[2]) /* unique id for the transfer function out. imp. */ + IGNORE(restart); /* first, find the operating point */ converged = CKTop(ckt, diff --git a/src/spicelib/analysis/tfaskq.c b/src/spicelib/analysis/tfaskq.c index 4a95c8604..bf2c6a0aa 100644 --- a/src/spicelib/analysis/tfaskq.c +++ b/src/spicelib/analysis/tfaskq.c @@ -14,6 +14,10 @@ Author: 1985 Thomas L. Quarles int TFaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(value); + IGNORE(anal); + IGNORE(ckt); + switch(which) { default: diff --git a/src/spicelib/analysis/tfsetp.c b/src/spicelib/analysis/tfsetp.c index 22f360b91..3fc013b2b 100644 --- a/src/spicelib/analysis/tfsetp.c +++ b/src/spicelib/analysis/tfsetp.c @@ -15,6 +15,8 @@ Author: 1985 Thomas L. Quarles int TFsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case TF_OUTPOS: diff --git a/src/spicelib/analysis/tranaskq.c b/src/spicelib/analysis/tranaskq.c index 38f4882f2..2f62e013c 100644 --- a/src/spicelib/analysis/tranaskq.c +++ b/src/spicelib/analysis/tranaskq.c @@ -13,6 +13,8 @@ Author: 1985 Thomas L. Quarles int TRANaskQuest(CKTcircuit *ckt, JOB *anal, int which,IFvalue *value) { + IGNORE(ckt); + switch(which) { case TRAN_TSTOP: diff --git a/src/spicelib/analysis/transetp.c b/src/spicelib/analysis/transetp.c index 559cb7958..aac14675a 100644 --- a/src/spicelib/analysis/transetp.c +++ b/src/spicelib/analysis/transetp.c @@ -15,6 +15,8 @@ Author: 1985 Thomas L. Quarles int TRANsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value) { + IGNORE(ckt); + switch(which) { case TRAN_TSTOP: diff --git a/src/spicelib/devices/asrc/asrcacld.c b/src/spicelib/devices/asrc/asrcacld.c index e742cf458..6b4ebb606 100644 --- a/src/spicelib/devices/asrc/asrcacld.c +++ b/src/spicelib/devices/asrc/asrcacld.c @@ -30,6 +30,8 @@ ASRCacLoad(GENmodel *inModel, CKTcircuit *ckt) double *derivs; double rhs; + IGNORE(ckt); + /* loop through all the Arbitrary source models */ for( ; model != NULL; model = model->ASRCnextModel ) { diff --git a/src/spicelib/devices/asrc/asrcask.c b/src/spicelib/devices/asrc/asrcask.c index 7ddbb5cff..5f617b51f 100644 --- a/src/spicelib/devices/asrc/asrcask.c +++ b/src/spicelib/devices/asrc/asrcask.c @@ -26,6 +26,8 @@ ASRCask(CKTcircuit *ckt, GENinstance *instPtr, int which, IFvalue *value, IFvalu { ASRCinstance *here = (ASRCinstance*)instPtr; + IGNORE(select); + switch(which) { case ASRC_CURRENT: value->tValue = here->ASRCtype == ASRC_CURRENT ? diff --git a/src/spicelib/devices/asrc/asrcpar.c b/src/spicelib/devices/asrc/asrcpar.c index 1d8f18595..4f253bc05 100644 --- a/src/spicelib/devices/asrc/asrcpar.c +++ b/src/spicelib/devices/asrc/asrcpar.c @@ -18,6 +18,9 @@ int ASRCparam(int param, IFvalue *value, GENinstance *fast, IFvalue *select) { ASRCinstance *here = (ASRCinstance*)fast; + + IGNORE(select); + switch(param) { case ASRC_VOLTAGE: here->ASRCtype = ASRC_VOLTAGE; diff --git a/src/spicelib/devices/asrc/asrcpzld.c b/src/spicelib/devices/asrc/asrcpzld.c index 5cbe93a23..010be25af 100644 --- a/src/spicelib/devices/asrc/asrcpzld.c +++ b/src/spicelib/devices/asrc/asrcpzld.c @@ -23,6 +23,8 @@ ASRCpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) double value; int i, j; + IGNORE(s); + /* loop through all the Arbitrary source models */ for( ; model != NULL; model = model->ASRCnextModel ) { diff --git a/src/spicelib/devices/asrc/asrcset.c b/src/spicelib/devices/asrc/asrcset.c index 4e093cffa..51b5520d6 100644 --- a/src/spicelib/devices/asrc/asrcset.c +++ b/src/spicelib/devices/asrc/asrcset.c @@ -27,6 +27,8 @@ ASRCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states) int v_first; CKTnode *tmp; + IGNORE(states); + /* loop through all the user models*/ for( ; model != NULL; model = model->ASRCnextModel ) { diff --git a/src/spicelib/devices/bjt/bjtmask.c b/src/spicelib/devices/bjt/bjtmask.c index 29ae04e5f..70740be7a 100644 --- a/src/spicelib/devices/bjt/bjtmask.c +++ b/src/spicelib/devices/bjt/bjtmask.c @@ -21,6 +21,8 @@ BJTmAsk(CKTcircuit *ckt, GENmodel *instPtr, int which, IFvalue *value) { BJTmodel *here = (BJTmodel*)instPtr; + IGNORE(ckt); + switch(which) { case BJT_MOD_TNOM: value->rValue = here->BJTtnom-CONSTCtoK; diff --git a/src/spicelib/devices/bjt/bjtparam.c b/src/spicelib/devices/bjt/bjtparam.c index 7b8c74496..8146c8e68 100644 --- a/src/spicelib/devices/bjt/bjtparam.c +++ b/src/spicelib/devices/bjt/bjtparam.c @@ -24,6 +24,8 @@ BJTparam(int param, IFvalue *value, GENinstance *instPtr, IFvalue *select) { BJTinstance *here = (BJTinstance*)instPtr; + IGNORE(select); + switch(param) { case BJT_AREA: here->BJTarea = value->rValue; diff --git a/src/spicelib/devices/bjt2/bjt2mask.c b/src/spicelib/devices/bjt2/bjt2mask.c index f46d03960..77d7770dd 100644 --- a/src/spicelib/devices/bjt2/bjt2mask.c +++ b/src/spicelib/devices/bjt2/bjt2mask.c @@ -22,6 +22,8 @@ BJT2mAsk(CKTcircuit *ckt, GENmodel *instPtr, int which, IFvalue *value) { BJT2model *here = (BJT2model*)instPtr; + IGNORE(ckt); + switch(which) { case BJT2_MOD_TNOM: value->rValue = here->BJT2tnom-CONSTCtoK; diff --git a/src/spicelib/devices/bjt2/bjt2param.c b/src/spicelib/devices/bjt2/bjt2param.c index 98bc82284..78d30f091 100644 --- a/src/spicelib/devices/bjt2/bjt2param.c +++ b/src/spicelib/devices/bjt2/bjt2param.c @@ -25,6 +25,8 @@ BJT2param(int param, IFvalue *value, GENinstance *instPtr, IFvalue *select) { BJT2instance *here = (BJT2instance*)instPtr; + IGNORE(select); + switch(param) { case BJT2_AREA: here->BJT2area = value->rValue; diff --git a/src/spicelib/devices/bsim1/b1ask.c b/src/spicelib/devices/bsim1/b1ask.c index 737d3c9a0..865256155 100644 --- a/src/spicelib/devices/bsim1/b1ask.c +++ b/src/spicelib/devices/bsim1/b1ask.c @@ -18,6 +18,8 @@ B1ask(CKTcircuit *ckt, GENinstance *inst, int which, { B1instance *here = (B1instance*)inst; + IGNORE(select); + switch(which) { case BSIM1_L: value->rValue = here->B1l; diff --git a/src/spicelib/devices/bsim1/b1mask.c b/src/spicelib/devices/bsim1/b1mask.c index 6dcbb345c..b90e9de29 100644 --- a/src/spicelib/devices/bsim1/b1mask.c +++ b/src/spicelib/devices/bsim1/b1mask.c @@ -19,6 +19,9 @@ int B1mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { B1model *model = (B1model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM1_MOD_VFB0: value->rValue = model->B1vfb0; diff --git a/src/spicelib/devices/bsim1/b1par.c b/src/spicelib/devices/bsim1/b1par.c index 501696286..7eb16e63b 100644 --- a/src/spicelib/devices/bsim1/b1par.c +++ b/src/spicelib/devices/bsim1/b1par.c @@ -18,6 +18,9 @@ B1param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { B1instance *here = (B1instance*)inst; + + IGNORE(select); + switch(param) { case BSIM1_W: here->B1w = value->rValue; diff --git a/src/spicelib/devices/bsim1/b1temp.c b/src/spicelib/devices/bsim1/b1temp.c index ee872e289..efc3d76cc 100644 --- a/src/spicelib/devices/bsim1/b1temp.c +++ b/src/spicelib/devices/bsim1/b1temp.c @@ -27,6 +27,8 @@ B1temp(GENmodel *inModel, CKTcircuit *ckt) double Leff; /* effective channel length im micron */ double Weff; /* effective channel width in micron */ + IGNORE(ckt); + /* loop through all the B1 device models */ for( ; model != NULL; model = model->B1nextModel ) { diff --git a/src/spicelib/devices/bsim2/b2ask.c b/src/spicelib/devices/bsim2/b2ask.c index f2063d86b..b4d9f0eef 100644 --- a/src/spicelib/devices/bsim2/b2ask.c +++ b/src/spicelib/devices/bsim2/b2ask.c @@ -18,6 +18,8 @@ B2ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { B2instance *here = (B2instance*)inst; + IGNORE(select); + switch(which) { case BSIM2_L: value->rValue = here->B2l; diff --git a/src/spicelib/devices/bsim2/b2mask.c b/src/spicelib/devices/bsim2/b2mask.c index 19b515ce3..f0282487d 100644 --- a/src/spicelib/devices/bsim2/b2mask.c +++ b/src/spicelib/devices/bsim2/b2mask.c @@ -19,6 +19,9 @@ int B2mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { B2model *model = (B2model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM2_MOD_VFB0: value->rValue = model->B2vfb0; diff --git a/src/spicelib/devices/bsim2/b2par.c b/src/spicelib/devices/bsim2/b2par.c index 1fad10b32..ba41c5e09 100644 --- a/src/spicelib/devices/bsim2/b2par.c +++ b/src/spicelib/devices/bsim2/b2par.c @@ -17,6 +17,9 @@ int B2param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { B2instance *here = (B2instance*)inst; + + IGNORE(select); + switch(param) { case BSIM2_W: here->B2w = value->rValue; diff --git a/src/spicelib/devices/bsim2/b2temp.c b/src/spicelib/devices/bsim2/b2temp.c index acf57e8f4..42d625238 100644 --- a/src/spicelib/devices/bsim2/b2temp.c +++ b/src/spicelib/devices/bsim2/b2temp.c @@ -27,6 +27,8 @@ B2temp(GENmodel *inModel, CKTcircuit *ckt) double CoxWoverL, Inv_L, Inv_W, tmp; int Size_Not_Found; + IGNORE(ckt); + /* loop through all the B2 device models */ for( ; model != NULL; model = model->B2nextModel ) { diff --git a/src/spicelib/devices/bsim3/b3ask.c b/src/spicelib/devices/bsim3/b3ask.c index b5c1e1907..7673b80c7 100644 --- a/src/spicelib/devices/bsim3/b3ask.c +++ b/src/spicelib/devices/bsim3/b3ask.c @@ -26,6 +26,8 @@ IFvalue *select) { BSIM3instance *here = (BSIM3instance*)inst; + IGNORE(select); + switch(which) { case BSIM3_L: value->rValue = here->BSIM3l; diff --git a/src/spicelib/devices/bsim3/b3check.c b/src/spicelib/devices/bsim3/b3check.c index 517e1edff..ee30b0165 100644 --- a/src/spicelib/devices/bsim3/b3check.c +++ b/src/spicelib/devices/bsim3/b3check.c @@ -29,6 +29,8 @@ struct bsim3SizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + IGNORE(ckt); + if ((fplog = fopen("b3v3check.log", "w")) != NULL) { pParam = here->pParam; fprintf(fplog, "BSIM3v3.3.0 Parameter Checking.\n"); diff --git a/src/spicelib/devices/bsim3/b3mask.c b/src/spicelib/devices/bsim3/b3mask.c index 324689dc8..af41ac3fd 100644 --- a/src/spicelib/devices/bsim3/b3mask.c +++ b/src/spicelib/devices/bsim3/b3mask.c @@ -24,6 +24,9 @@ int which, IFvalue *value) { BSIM3model *model = (BSIM3model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM3_MOD_MOBMOD: value->iValue = model->BSIM3mobMod; diff --git a/src/spicelib/devices/bsim3/b3par.c b/src/spicelib/devices/bsim3/b3par.c index dc170e7f4..95744f64a 100644 --- a/src/spicelib/devices/bsim3/b3par.c +++ b/src/spicelib/devices/bsim3/b3par.c @@ -26,6 +26,8 @@ IFvalue *select) BSIM3instance *here = (BSIM3instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim3soi/b4soiask.c b/src/spicelib/devices/bsim3soi/b4soiask.c index 892ec00b3..00e03fc8f 100644 --- a/src/spicelib/devices/bsim3soi/b4soiask.c +++ b/src/spicelib/devices/bsim3soi/b4soiask.c @@ -29,6 +29,8 @@ B4SOIask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue { B4SOIinstance *here = (B4SOIinstance*)inst; + IGNORE(select); + switch(which) { case B4SOI_L: value->rValue = here->B4SOIl; diff --git a/src/spicelib/devices/bsim3soi/b4soicheck.c b/src/spicelib/devices/bsim3soi/b4soicheck.c index ff36c60da..18fc55984 100644 --- a/src/spicelib/devices/bsim3soi/b4soicheck.c +++ b/src/spicelib/devices/bsim3soi/b4soicheck.c @@ -30,6 +30,8 @@ struct b4soiSizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + IGNORE(ckt); + if ((fplog = fopen("b4soiv1check.log", "w")) != NULL) { pParam = here->pParam; fprintf(fplog, "B4SOIV3 Parameter Check\n"); diff --git a/src/spicelib/devices/bsim3soi/b4soimask.c b/src/spicelib/devices/bsim3soi/b4soimask.c index a420fc82b..f6b4393b7 100644 --- a/src/spicelib/devices/bsim3soi/b4soimask.c +++ b/src/spicelib/devices/bsim3soi/b4soimask.c @@ -29,6 +29,9 @@ int which, IFvalue *value) { B4SOImodel *model = (B4SOImodel *)inst; + + IGNORE(ckt); + switch(which) { case B4SOI_MOD_MOBMOD: value->iValue = model->B4SOImobMod; diff --git a/src/spicelib/devices/bsim3soi/b4soipar.c b/src/spicelib/devices/bsim3soi/b4soipar.c index 66e4f4397..8bf39ab60 100644 --- a/src/spicelib/devices/bsim3soi/b4soipar.c +++ b/src/spicelib/devices/bsim3soi/b4soipar.c @@ -27,6 +27,9 @@ GENinstance *inst, IFvalue *select) { B4SOIinstance *here = (B4SOIinstance*)inst; + + IGNORE(select); + switch(param) { case B4SOI_W: here->B4SOIw = value->rValue; diff --git a/src/spicelib/devices/bsim3soi/b4soipzld.c b/src/spicelib/devices/bsim3soi/b4soipzld.c index 345feae1e..0fbc90fa5 100644 --- a/src/spicelib/devices/bsim3soi/b4soipzld.c +++ b/src/spicelib/devices/bsim3soi/b4soipzld.c @@ -35,6 +35,9 @@ double GSoverlapCap, GDoverlapCap, GBoverlapCap=0.0; double FwdSum, RevSum, Gm, Gmbs; double m; + + IGNORE(ckt); + for (; model != NULL; model = model->B4SOInextModel) { for (here = model->B4SOIinstances; here!= NULL; here = here->B4SOInextInstance) diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddask.c b/src/spicelib/devices/bsim3soi_dd/b3soiddask.c index 512e7f42e..38f27ed01 100644 --- a/src/spicelib/devices/bsim3soi_dd/b3soiddask.c +++ b/src/spicelib/devices/bsim3soi_dd/b3soiddask.c @@ -25,6 +25,8 @@ B3SOIDDask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { B3SOIDDinstance *here = (B3SOIDDinstance*)inst; + IGNORE(select); + switch(which) { case B3SOIDD_L: value->rValue = here->B3SOIDDl; diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddcheck.c b/src/spicelib/devices/bsim3soi_dd/b3soiddcheck.c index 260a591ea..3bbe90d7b 100644 --- a/src/spicelib/devices/bsim3soi_dd/b3soiddcheck.c +++ b/src/spicelib/devices/bsim3soi_dd/b3soiddcheck.c @@ -26,6 +26,8 @@ struct b3soiddSizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + IGNORE(ckt); + if ((fplog = fopen("b3soiddv2check.log", "w")) != NULL) { pParam = here->pParam; fprintf(fplog, "B3SOI(DD)V2.1 Parameter Check\n"); diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddld.c b/src/spicelib/devices/bsim3soi_dd/b3soiddld.c index 7f2f9176a..05459ffb0 100644 --- a/src/spicelib/devices/bsim3soi_dd/b3soiddld.c +++ b/src/spicelib/devices/bsim3soi_dd/b3soiddld.c @@ -57,6 +57,9 @@ static double B3SOIDDSmartVbs(double New, double Old, B3SOIDDinstance *here, CKTcircuit *ckt, int *check) { + IGNORE(Old); + IGNORE(check); + /* only do it for floating body and DC */ if (here->B3SOIDDfloat && (ckt->CKTmode & (MODEDC | MODEDCOP))) { diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddmask.c b/src/spicelib/devices/bsim3soi_dd/b3soiddmask.c index 33c55f4f2..cf9b44e57 100644 --- a/src/spicelib/devices/bsim3soi_dd/b3soiddmask.c +++ b/src/spicelib/devices/bsim3soi_dd/b3soiddmask.c @@ -20,6 +20,9 @@ int B3SOIDDmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { B3SOIDDmodel *model = (B3SOIDDmodel *)inst; + + IGNORE(ckt); + switch(which) { case B3SOIDD_MOD_MOBMOD: value->iValue = model->B3SOIDDmobMod; diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddpar.c b/src/spicelib/devices/bsim3soi_dd/b3soiddpar.c index 2d9b9706b..ac726c455 100644 --- a/src/spicelib/devices/bsim3soi_dd/b3soiddpar.c +++ b/src/spicelib/devices/bsim3soi_dd/b3soiddpar.c @@ -20,6 +20,9 @@ int B3SOIDDparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { B3SOIDDinstance *here = (B3SOIDDinstance*)inst; + + IGNORE(select); + switch(param) { case B3SOIDD_W: here->B3SOIDDw = value->rValue; diff --git a/src/spicelib/devices/bsim3soi_dd/b3soiddpzld.c b/src/spicelib/devices/bsim3soi_dd/b3soiddpzld.c index bc9e26b1a..ffe7313b7 100644 --- a/src/spicelib/devices/bsim3soi_dd/b3soiddpzld.c +++ b/src/spicelib/devices/bsim3soi_dd/b3soiddpzld.c @@ -32,6 +32,8 @@ double FwdSum, RevSum, Gm, Gmbs; double m; + IGNORE(ckt); + for (; model != NULL; model = model->B3SOIDDnextModel) { for (here = model->B3SOIDDinstances; here!= NULL; here = here->B3SOIDDnextInstance) diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdask.c b/src/spicelib/devices/bsim3soi_fd/b3soifdask.c index efb640d33..62bee7749 100644 --- a/src/spicelib/devices/bsim3soi_fd/b3soifdask.c +++ b/src/spicelib/devices/bsim3soi_fd/b3soifdask.c @@ -24,6 +24,8 @@ B3SOIFDask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { B3SOIFDinstance *here = (B3SOIFDinstance*)inst; + IGNORE(select); + switch(which) { case B3SOIFD_L: value->rValue = here->B3SOIFDl; diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdcheck.c b/src/spicelib/devices/bsim3soi_fd/b3soifdcheck.c index 398db80a4..52a3bb972 100644 --- a/src/spicelib/devices/bsim3soi_fd/b3soifdcheck.c +++ b/src/spicelib/devices/bsim3soi_fd/b3soifdcheck.c @@ -25,6 +25,8 @@ B3SOIFDcheckModel(B3SOIFDmodel *model, B3SOIFDinstance *here, CKTcircuit *ckt) struct b3soifdSizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + + IGNORE(ckt); if ((fplog = fopen("b3soifdv2check.log", "w")) != NULL) { pParam = here->pParam; diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdld.c b/src/spicelib/devices/bsim3soi_fd/b3soifdld.c index 2b1982092..cf0daeb35 100644 --- a/src/spicelib/devices/bsim3soi_fd/b3soifdld.c +++ b/src/spicelib/devices/bsim3soi_fd/b3soifdld.c @@ -57,6 +57,9 @@ static double B3SOIFDSmartVbs(double New, double Old, B3SOIFDinstance *here, CKTcircuit *ckt, int *check) { + IGNORE(Old); + IGNORE(check); + /* only do it for floating body and DC */ if (here->B3SOIFDfloat && (ckt->CKTmode & (MODEDC | MODEDCOP))) { diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdmask.c b/src/spicelib/devices/bsim3soi_fd/b3soifdmask.c index c9dc7ca1a..d02c5f9e1 100644 --- a/src/spicelib/devices/bsim3soi_fd/b3soifdmask.c +++ b/src/spicelib/devices/bsim3soi_fd/b3soifdmask.c @@ -24,6 +24,9 @@ int B3SOIFDmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { B3SOIFDmodel *model = (B3SOIFDmodel *)inst; + + IGNORE(ckt); + switch(which) { case B3SOIFD_MOD_MOBMOD: value->iValue = model->B3SOIFDmobMod; diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdpar.c b/src/spicelib/devices/bsim3soi_fd/b3soifdpar.c index 2e345387e..4cd8e39f6 100644 --- a/src/spicelib/devices/bsim3soi_fd/b3soifdpar.c +++ b/src/spicelib/devices/bsim3soi_fd/b3soifdpar.c @@ -21,6 +21,9 @@ B3SOIFDparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { B3SOIFDinstance *here = (B3SOIFDinstance*)inst; + + IGNORE(select); + switch(param) { case B3SOIFD_W: here->B3SOIFDw = value->rValue; diff --git a/src/spicelib/devices/bsim3soi_fd/b3soifdpzld.c b/src/spicelib/devices/bsim3soi_fd/b3soifdpzld.c index 5bd19a552..dbdf5bde8 100644 --- a/src/spicelib/devices/bsim3soi_fd/b3soifdpzld.c +++ b/src/spicelib/devices/bsim3soi_fd/b3soifdpzld.c @@ -31,6 +31,8 @@ double FwdSum, RevSum, Gm, Gmbs; double m; + IGNORE(ckt); + for (; model != NULL; model = model->B3SOIFDnextModel) { for (here = model->B3SOIFDinstances; here!= NULL; here = here->B3SOIFDnextInstance) diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdask.c b/src/spicelib/devices/bsim3soi_pd/b3soipdask.c index aa17af94f..5f5e2976b 100644 --- a/src/spicelib/devices/bsim3soi_pd/b3soipdask.c +++ b/src/spicelib/devices/bsim3soi_pd/b3soipdask.c @@ -26,6 +26,8 @@ B3SOIPDask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { B3SOIPDinstance *here = (B3SOIPDinstance*)inst; + IGNORE(select); + switch(which) { case B3SOIPD_L: value->rValue = here->B3SOIPDl; diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdcheck.c b/src/spicelib/devices/bsim3soi_pd/b3soipdcheck.c index 0a00efd25..1a692eeba 100644 --- a/src/spicelib/devices/bsim3soi_pd/b3soipdcheck.c +++ b/src/spicelib/devices/bsim3soi_pd/b3soipdcheck.c @@ -29,6 +29,8 @@ B3SOIPDcheckModel(B3SOIPDmodel *model, B3SOIPDinstance *here, CKTcircuit *ckt) struct b3soipdSizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + + IGNORE(ckt); if ((fplog = fopen("b3soipdv223check.log", "w")) != NULL) { pParam = here->pParam; diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdmask.c b/src/spicelib/devices/bsim3soi_pd/b3soipdmask.c index 12bfc6a4b..0d4f981a2 100644 --- a/src/spicelib/devices/bsim3soi_pd/b3soipdmask.c +++ b/src/spicelib/devices/bsim3soi_pd/b3soipdmask.c @@ -28,6 +28,9 @@ int B3SOIPDmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { B3SOIPDmodel *model = (B3SOIPDmodel *)inst; + + IGNORE(ckt); + switch(which) { case B3SOIPD_MOD_MOBMOD: value->iValue = model->B3SOIPDmobMod; diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c b/src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c index d2ec385f2..6860b6e84 100644 --- a/src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c +++ b/src/spicelib/devices/bsim3soi_pd/b3soipdnoi.c @@ -55,6 +55,8 @@ struct b3soipdSizeDependParam *pParam; double cd, esat, DelClm, EffFreq, N0, Nl; double T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, Ssi; + IGNORE(vgs); + pParam = here->pParam; cd = fabs(here->B3SOIPDcd) * here->B3SOIPDm; diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdpar.c b/src/spicelib/devices/bsim3soi_pd/b3soipdpar.c index cd722311c..5944d7e56 100644 --- a/src/spicelib/devices/bsim3soi_pd/b3soipdpar.c +++ b/src/spicelib/devices/bsim3soi_pd/b3soipdpar.c @@ -22,6 +22,9 @@ int B3SOIPDparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { B3SOIPDinstance *here = (B3SOIPDinstance*)inst; + + IGNORE(select); + switch(param) { case B3SOIPD_W: here->B3SOIPDw = value->rValue; diff --git a/src/spicelib/devices/bsim3soi_pd/b3soipdpzld.c b/src/spicelib/devices/bsim3soi_pd/b3soipdpzld.c index 33e07270f..88dd07aaf 100644 --- a/src/spicelib/devices/bsim3soi_pd/b3soipdpzld.c +++ b/src/spicelib/devices/bsim3soi_pd/b3soipdpzld.c @@ -31,6 +31,8 @@ double FwdSum, RevSum, Gm, Gmbs; double m; + IGNORE(ckt); + for (; model != NULL; model = model->B3SOIPDnextModel) { for (here = model->B3SOIPDinstances; here!= NULL; here = here->B3SOIPDnextInstance) diff --git a/src/spicelib/devices/bsim3v0/b3v0ask.c b/src/spicelib/devices/bsim3v0/b3v0ask.c index 51401bdbb..41b511c62 100644 --- a/src/spicelib/devices/bsim3v0/b3v0ask.c +++ b/src/spicelib/devices/bsim3v0/b3v0ask.c @@ -18,6 +18,8 @@ BSIM3v0ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { BSIM3v0instance *here = (BSIM3v0instance*)inst; + IGNORE(select); + switch(which) { case BSIM3v0_L: value->rValue = here->BSIM3v0l; diff --git a/src/spicelib/devices/bsim3v0/b3v0mask.c b/src/spicelib/devices/bsim3v0/b3v0mask.c index 25d0d1c27..0e253de12 100644 --- a/src/spicelib/devices/bsim3v0/b3v0mask.c +++ b/src/spicelib/devices/bsim3v0/b3v0mask.c @@ -20,6 +20,9 @@ int which, IFvalue *value) { BSIM3v0model *model = (BSIM3v0model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM3v0_MOD_MOBMOD: value->iValue = model->BSIM3v0mobMod; diff --git a/src/spicelib/devices/bsim3v0/b3v0par.c b/src/spicelib/devices/bsim3v0/b3v0par.c index 6ad2dc1c2..ff4eb11b9 100644 --- a/src/spicelib/devices/bsim3v0/b3v0par.c +++ b/src/spicelib/devices/bsim3v0/b3v0par.c @@ -18,6 +18,8 @@ BSIM3v0param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) BSIM3v0instance *here = (BSIM3v0instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim3v0/b3v0pzld.c b/src/spicelib/devices/bsim3v0/b3v0pzld.c index 73c467b63..7f59abc87 100644 --- a/src/spicelib/devices/bsim3v0/b3v0pzld.c +++ b/src/spicelib/devices/bsim3v0/b3v0pzld.c @@ -24,6 +24,8 @@ double FwdSum, RevSum, Gm, Gmbs; double m; + IGNORE(ckt); + for (; model != NULL; model = model->BSIM3v0nextModel) { for (here = model->BSIM3v0instances; here!= NULL; here = here->BSIM3v0nextInstance) diff --git a/src/spicelib/devices/bsim3v1/b3v1ask.c b/src/spicelib/devices/bsim3v1/b3v1ask.c index 3653957dd..5dc40b0ba 100644 --- a/src/spicelib/devices/bsim3v1/b3v1ask.c +++ b/src/spicelib/devices/bsim3v1/b3v1ask.c @@ -24,6 +24,8 @@ BSIM3v1ask (CKTcircuit * ckt, GENinstance * inst, int which, IFvalue * value, { BSIM3v1instance *here = (BSIM3v1instance *) inst; + IGNORE(select); + switch (which) { case BSIM3v1_L: diff --git a/src/spicelib/devices/bsim3v1/b3v1check.c b/src/spicelib/devices/bsim3v1/b3v1check.c index ad145d728..1b88dfc08 100644 --- a/src/spicelib/devices/bsim3v1/b3v1check.c +++ b/src/spicelib/devices/bsim3v1/b3v1check.c @@ -26,6 +26,8 @@ BSIM3v1checkModel(BSIM3v1model *model, BSIM3v1instance *here, CKTcircuit *ckt) struct bsim3v1SizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + + IGNORE(ckt); if ((fplog = fopen("b3v3_1check.log", "w")) != NULL) { pParam = here->pParam; diff --git a/src/spicelib/devices/bsim3v1/b3v1mask.c b/src/spicelib/devices/bsim3v1/b3v1mask.c index ba8f6078a..f2b9e43e2 100644 --- a/src/spicelib/devices/bsim3v1/b3v1mask.c +++ b/src/spicelib/devices/bsim3v1/b3v1mask.c @@ -22,6 +22,9 @@ int BSIM3v1mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { BSIM3v1model *model = (BSIM3v1model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM3v1_MOD_MOBMOD: value->iValue = model->BSIM3v1mobMod; diff --git a/src/spicelib/devices/bsim3v1/b3v1par.c b/src/spicelib/devices/bsim3v1/b3v1par.c index cac6f8df8..bd9369d6d 100644 --- a/src/spicelib/devices/bsim3v1/b3v1par.c +++ b/src/spicelib/devices/bsim3v1/b3v1par.c @@ -24,6 +24,8 @@ BSIM3v1param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) BSIM3v1instance *here = (BSIM3v1instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim3v1/b3v1pzld.c b/src/spicelib/devices/bsim3v1/b3v1pzld.c index fea672485..1dcf0e950 100644 --- a/src/spicelib/devices/bsim3v1/b3v1pzld.c +++ b/src/spicelib/devices/bsim3v1/b3v1pzld.c @@ -30,6 +30,8 @@ double FwdSum, RevSum, Gm, Gmbs; double m; + IGNORE(ckt); + for (; model != NULL; model = model->BSIM3v1nextModel) { for (here = model->BSIM3v1instances; here!= NULL; here = here->BSIM3v1nextInstance) diff --git a/src/spicelib/devices/bsim3v1a/b3v1aask.c b/src/spicelib/devices/bsim3v1a/b3v1aask.c index d4126bda1..1e3e6a719 100644 --- a/src/spicelib/devices/bsim3v1a/b3v1aask.c +++ b/src/spicelib/devices/bsim3v1a/b3v1aask.c @@ -20,6 +20,8 @@ BSIM3v1Aask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { BSIM3v1Ainstance *here = (BSIM3v1Ainstance*)inst; + IGNORE(select); + switch(which) { case BSIM3v1A_L: value->rValue = here->BSIM3v1Al; diff --git a/src/spicelib/devices/bsim3v1a/b3v1amask.c b/src/spicelib/devices/bsim3v1a/b3v1amask.c index 7409ed069..96d6ef2f3 100644 --- a/src/spicelib/devices/bsim3v1a/b3v1amask.c +++ b/src/spicelib/devices/bsim3v1a/b3v1amask.c @@ -17,6 +17,9 @@ int BSIM3v1AmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { BSIM3v1Amodel *model = (BSIM3v1Amodel *)inst; + + IGNORE(ckt); + switch(which) { case BSIM3v1A_MOD_MOBMOD: value->iValue = model->BSIM3v1AmobMod; diff --git a/src/spicelib/devices/bsim3v1a/b3v1apar.c b/src/spicelib/devices/bsim3v1a/b3v1apar.c index dbbd6e11b..0508a0e42 100644 --- a/src/spicelib/devices/bsim3v1a/b3v1apar.c +++ b/src/spicelib/devices/bsim3v1a/b3v1apar.c @@ -19,6 +19,8 @@ BSIM3v1Aparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) BSIM3v1Ainstance *here = (BSIM3v1Ainstance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim3v1a/b3v1apzld.c b/src/spicelib/devices/bsim3v1a/b3v1apzld.c index 3513b2945..95445e5a3 100644 --- a/src/spicelib/devices/bsim3v1a/b3v1apzld.c +++ b/src/spicelib/devices/bsim3v1a/b3v1apzld.c @@ -25,6 +25,8 @@ double FwdSum, RevSum, Gm, Gmbs; double m; + IGNORE(ckt); + for (; model != NULL; model = model->BSIM3v1AnextModel) { for (here = model->BSIM3v1Ainstances; here!= NULL; here = here->BSIM3v1AnextInstance) diff --git a/src/spicelib/devices/bsim3v1s/b3v1sask.c b/src/spicelib/devices/bsim3v1s/b3v1sask.c index a542c6142..a2bc44a33 100644 --- a/src/spicelib/devices/bsim3v1s/b3v1sask.c +++ b/src/spicelib/devices/bsim3v1s/b3v1sask.c @@ -19,6 +19,8 @@ BSIM3v1Sask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { BSIM3v1Sinstance *here = (BSIM3v1Sinstance*)inst; + IGNORE(select); + switch(which) { case BSIM3v1S_L: value->rValue = here->BSIM3v1Sl; diff --git a/src/spicelib/devices/bsim3v1s/b3v1scheck.c b/src/spicelib/devices/bsim3v1s/b3v1scheck.c index 7b36e41de..a2797a893 100644 --- a/src/spicelib/devices/bsim3v1s/b3v1scheck.c +++ b/src/spicelib/devices/bsim3v1s/b3v1scheck.c @@ -22,6 +22,8 @@ struct bsim3v1sSizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + IGNORE(ckt); + if ((fplog = fopen("BSIM3V3_1S_check.log", "w")) != NULL) { pParam = here->pParam; fprintf(fplog, "BSIM3V3.1 (Serban) Parameter Check\n"); diff --git a/src/spicelib/devices/bsim3v1s/b3v1smask.c b/src/spicelib/devices/bsim3v1s/b3v1smask.c index 40998e81c..337272c64 100644 --- a/src/spicelib/devices/bsim3v1s/b3v1smask.c +++ b/src/spicelib/devices/bsim3v1s/b3v1smask.c @@ -17,6 +17,9 @@ int BSIM3v1SmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { BSIM3v1Smodel *model = (BSIM3v1Smodel *)inst; + + IGNORE(ckt); + switch(which) { case BSIM3v1S_MOD_MOBMOD: value->iValue = model->BSIM3v1SmobMod; diff --git a/src/spicelib/devices/bsim3v1s/b3v1spar.c b/src/spicelib/devices/bsim3v1s/b3v1spar.c index 0fb4d04aa..03ec999f6 100644 --- a/src/spicelib/devices/bsim3v1s/b3v1spar.c +++ b/src/spicelib/devices/bsim3v1s/b3v1spar.c @@ -19,6 +19,8 @@ BSIM3v1Sparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) BSIM3v1Sinstance *here = (BSIM3v1Sinstance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim3v1s/b3v1spzld.c b/src/spicelib/devices/bsim3v1s/b3v1spzld.c index ba9a50db1..8856ae3b2 100644 --- a/src/spicelib/devices/bsim3v1s/b3v1spzld.c +++ b/src/spicelib/devices/bsim3v1s/b3v1spzld.c @@ -23,6 +23,8 @@ double cggb, cgdb, cgsb, cbgb, cbdb, cbsb, cddb, cdgb, cdsb; double GSoverlapCap, GDoverlapCap, GBoverlapCap; double FwdSum, RevSum, Gm, Gmbs; + IGNORE(ckt); + for (; model != NULL; model = model->BSIM3v1SnextModel) { for (here = model->BSIM3v1Sinstances; here!= NULL; here = here->BSIM3v1SnextInstance) diff --git a/src/spicelib/devices/bsim3v32/b3v32ask.c b/src/spicelib/devices/bsim3v32/b3v32ask.c index 70a6aab2c..0728dc709 100644 --- a/src/spicelib/devices/bsim3v32/b3v32ask.c +++ b/src/spicelib/devices/bsim3v32/b3v32ask.c @@ -23,6 +23,8 @@ BSIM3v32ask (CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { BSIM3v32instance *here = (BSIM3v32instance*)inst; + IGNORE(select); + switch(which) { case BSIM3v32_L: value->rValue = here->BSIM3v32l; diff --git a/src/spicelib/devices/bsim3v32/b3v32check.c b/src/spicelib/devices/bsim3v32/b3v32check.c index aaeadea34..6e50be9ee 100644 --- a/src/spicelib/devices/bsim3v32/b3v32check.c +++ b/src/spicelib/devices/bsim3v32/b3v32check.c @@ -26,6 +26,8 @@ struct bsim3SizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + IGNORE(ckt); + if ((fplog = fopen("b3v3check.log", "w")) != NULL) { pParam = here->pParam; diff --git a/src/spicelib/devices/bsim3v32/b3v32mask.c b/src/spicelib/devices/bsim3v32/b3v32mask.c index 43292b485..a877fe678 100644 --- a/src/spicelib/devices/bsim3v32/b3v32mask.c +++ b/src/spicelib/devices/bsim3v32/b3v32mask.c @@ -21,6 +21,9 @@ int BSIM3v32mAsk (CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { BSIM3v32model *model = (BSIM3v32model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM3v32_MOD_MOBMOD: value->iValue = model->BSIM3v32mobMod; diff --git a/src/spicelib/devices/bsim3v32/b3v32par.c b/src/spicelib/devices/bsim3v32/b3v32par.c index 410291d68..802df412d 100644 --- a/src/spicelib/devices/bsim3v32/b3v32par.c +++ b/src/spicelib/devices/bsim3v32/b3v32par.c @@ -23,6 +23,8 @@ BSIM3v32param (int param, IFvalue *value, GENinstance *inst, IFvalue *select) BSIM3v32instance *here = (BSIM3v32instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim4/b4ask.c b/src/spicelib/devices/bsim4/b4ask.c index 06daa898d..ef3ef0c9c 100644 --- a/src/spicelib/devices/bsim4/b4ask.c +++ b/src/spicelib/devices/bsim4/b4ask.c @@ -32,6 +32,8 @@ IFvalue *select) { BSIM4instance *here = (BSIM4instance*)inst; + IGNORE(select); + switch(which) { case BSIM4_L: value->rValue = here->BSIM4l; diff --git a/src/spicelib/devices/bsim4/b4geo.c b/src/spicelib/devices/bsim4/b4geo.c index e770e8ce8..aef314109 100644 --- a/src/spicelib/devices/bsim4/b4geo.c +++ b/src/spicelib/devices/bsim4/b4geo.c @@ -267,6 +267,8 @@ return 0; int BSIM4RdsEndIso(double Weffcj, double Rsh, double DMCG, double DMCI, double DMDG, double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: @@ -322,6 +324,9 @@ return 0; int BSIM4RdsEndSha(double Weffcj, double Rsh, double DMCG, double DMCI, double DMDG, double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMCI); + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: diff --git a/src/spicelib/devices/bsim4/b4mask.c b/src/spicelib/devices/bsim4/b4mask.c index fdb7f48e6..713efac52 100644 --- a/src/spicelib/devices/bsim4/b4mask.c +++ b/src/spicelib/devices/bsim4/b4mask.c @@ -34,6 +34,9 @@ int which, IFvalue *value) { BSIM4model *model = (BSIM4model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM4_MOD_MOBMOD : value->iValue = model->BSIM4mobMod; diff --git a/src/spicelib/devices/bsim4/b4par.c b/src/spicelib/devices/bsim4/b4par.c index bb2569a4b..5b5bd7ee4 100644 --- a/src/spicelib/devices/bsim4/b4par.c +++ b/src/spicelib/devices/bsim4/b4par.c @@ -32,6 +32,8 @@ IFvalue *select) BSIM4instance *here = (BSIM4instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim4v2/b4v2ask.c b/src/spicelib/devices/bsim4v2/b4v2ask.c index b0b8d7b98..e15eff363 100644 --- a/src/spicelib/devices/bsim4v2/b4v2ask.c +++ b/src/spicelib/devices/bsim4v2/b4v2ask.c @@ -30,6 +30,8 @@ IFvalue *select) { BSIM4v2instance *here = (BSIM4v2instance*)inst; + IGNORE(select); + switch(which) { case BSIM4v2_L: value->rValue = here->BSIM4v2l; diff --git a/src/spicelib/devices/bsim4v2/b4v2check.c b/src/spicelib/devices/bsim4v2/b4v2check.c index 4d8cf8734..20ce8187a 100644 --- a/src/spicelib/devices/bsim4v2/b4v2check.c +++ b/src/spicelib/devices/bsim4v2/b4v2check.c @@ -29,6 +29,8 @@ CKTcircuit *ckt) struct bsim4SizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + + IGNORE(ckt); if ((fplog = fopen("bsim4.out", "w")) != NULL) { pParam = here->pParam; diff --git a/src/spicelib/devices/bsim4v2/b4v2geo.c b/src/spicelib/devices/bsim4v2/b4v2geo.c index f75e165b9..63392cae2 100644 --- a/src/spicelib/devices/bsim4v2/b4v2geo.c +++ b/src/spicelib/devices/bsim4v2/b4v2geo.c @@ -283,6 +283,8 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: @@ -342,6 +344,9 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMCI); + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: diff --git a/src/spicelib/devices/bsim4v2/b4v2mask.c b/src/spicelib/devices/bsim4v2/b4v2mask.c index 3f9e6930c..638e96e18 100644 --- a/src/spicelib/devices/bsim4v2/b4v2mask.c +++ b/src/spicelib/devices/bsim4v2/b4v2mask.c @@ -26,6 +26,9 @@ int which, IFvalue *value) { BSIM4v2model *model = (BSIM4v2model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM4v2_MOD_MOBMOD : value->iValue = model->BSIM4v2mobMod; diff --git a/src/spicelib/devices/bsim4v2/b4v2par.c b/src/spicelib/devices/bsim4v2/b4v2par.c index 9fdb32163..affce096a 100644 --- a/src/spicelib/devices/bsim4v2/b4v2par.c +++ b/src/spicelib/devices/bsim4v2/b4v2par.c @@ -25,6 +25,8 @@ IFvalue *select) BSIM4v2instance *here = (BSIM4v2instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim4v3/b4v3ask.c b/src/spicelib/devices/bsim4v3/b4v3ask.c index 4ca98f262..5a1562a9e 100644 --- a/src/spicelib/devices/bsim4v3/b4v3ask.c +++ b/src/spicelib/devices/bsim4v3/b4v3ask.c @@ -30,6 +30,8 @@ IFvalue *select) { BSIM4v3instance *here = (BSIM4v3instance*)inst; + IGNORE(select); + switch(which) { case BSIM4v3_L: value->rValue = here->BSIM4v3l; diff --git a/src/spicelib/devices/bsim4v3/b4v3check.c b/src/spicelib/devices/bsim4v3/b4v3check.c index b3234c422..8812aa9f3 100644 --- a/src/spicelib/devices/bsim4v3/b4v3check.c +++ b/src/spicelib/devices/bsim4v3/b4v3check.c @@ -32,6 +32,8 @@ struct bsim4v3SizeDependParam *pParam; int Fatal_Flag = 0; FILE *fplog; + IGNORE(ckt); + if ((fplog = fopen("bsim4v3.out", "w")) != NULL) { pParam = here->pParam; fprintf(fplog, "BSIM4v3: Berkeley Short Channel IGFET Model-4\n"); diff --git a/src/spicelib/devices/bsim4v3/b4v3geo.c b/src/spicelib/devices/bsim4v3/b4v3geo.c index ca924a6a7..3a9db356d 100644 --- a/src/spicelib/devices/bsim4v3/b4v3geo.c +++ b/src/spicelib/devices/bsim4v3/b4v3geo.c @@ -283,6 +283,8 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: @@ -342,6 +344,9 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMCI); + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: diff --git a/src/spicelib/devices/bsim4v3/b4v3mask.c b/src/spicelib/devices/bsim4v3/b4v3mask.c index 2d9c850d3..c52791a39 100644 --- a/src/spicelib/devices/bsim4v3/b4v3mask.c +++ b/src/spicelib/devices/bsim4v3/b4v3mask.c @@ -29,6 +29,9 @@ int which, IFvalue *value) { BSIM4v3model *model = (BSIM4v3model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM4v3_MOD_MOBMOD : value->iValue = model->BSIM4v3mobMod; diff --git a/src/spicelib/devices/bsim4v3/b4v3par.c b/src/spicelib/devices/bsim4v3/b4v3par.c index ceb218927..081015664 100644 --- a/src/spicelib/devices/bsim4v3/b4v3par.c +++ b/src/spicelib/devices/bsim4v3/b4v3par.c @@ -28,6 +28,8 @@ IFvalue *select) BSIM4v3instance *here = (BSIM4v3instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim4v4/b4v4ask.c b/src/spicelib/devices/bsim4v4/b4v4ask.c index 3ffb472c2..70f8454b3 100644 --- a/src/spicelib/devices/bsim4v4/b4v4ask.c +++ b/src/spicelib/devices/bsim4v4/b4v4ask.c @@ -29,6 +29,8 @@ IFvalue *select) { BSIM4v4instance *here = (BSIM4v4instance*)inst; + IGNORE(select); + switch(which) { case BSIM4v4_L: value->rValue = here->BSIM4v4l; diff --git a/src/spicelib/devices/bsim4v4/b4v4geo.c b/src/spicelib/devices/bsim4v4/b4v4geo.c index 7b7eba05b..0a387505c 100644 --- a/src/spicelib/devices/bsim4v4/b4v4geo.c +++ b/src/spicelib/devices/bsim4v4/b4v4geo.c @@ -281,6 +281,8 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: @@ -340,6 +342,9 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMCI); + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: diff --git a/src/spicelib/devices/bsim4v4/b4v4mask.c b/src/spicelib/devices/bsim4v4/b4v4mask.c index f4811539b..6f4ab11c1 100644 --- a/src/spicelib/devices/bsim4v4/b4v4mask.c +++ b/src/spicelib/devices/bsim4v4/b4v4mask.c @@ -29,6 +29,9 @@ int which, IFvalue *value) { BSIM4v4model *model = (BSIM4v4model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM4v4_MOD_MOBMOD : value->iValue = model->BSIM4v4mobMod; diff --git a/src/spicelib/devices/bsim4v4/b4v4par.c b/src/spicelib/devices/bsim4v4/b4v4par.c index 332b0140b..361d65936 100644 --- a/src/spicelib/devices/bsim4v4/b4v4par.c +++ b/src/spicelib/devices/bsim4v4/b4v4par.c @@ -29,6 +29,8 @@ IFvalue *select) BSIM4v4instance *here = (BSIM4v4instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/bsim4v5/b4v5ask.c b/src/spicelib/devices/bsim4v5/b4v5ask.c index aa194b1c1..893673e04 100644 --- a/src/spicelib/devices/bsim4v5/b4v5ask.c +++ b/src/spicelib/devices/bsim4v5/b4v5ask.c @@ -30,6 +30,8 @@ IFvalue *select) { BSIM4v5instance *here = (BSIM4v5instance*)inst; + IGNORE(select); + switch(which) { case BSIM4v5_L: value->rValue = here->BSIM4v5l; diff --git a/src/spicelib/devices/bsim4v5/b4v5geo.c b/src/spicelib/devices/bsim4v5/b4v5geo.c index 300992d51..9822ae7e2 100644 --- a/src/spicelib/devices/bsim4v5/b4v5geo.c +++ b/src/spicelib/devices/bsim4v5/b4v5geo.c @@ -281,6 +281,8 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: @@ -340,6 +342,9 @@ double nuEnd, int rgeo, int Type, double *Rend) { + IGNORE(DMCI); + IGNORE(DMDG); + if (Type == 1) { switch(rgeo) { case 1: diff --git a/src/spicelib/devices/bsim4v5/b4v5mask.c b/src/spicelib/devices/bsim4v5/b4v5mask.c index 704cbd7af..391ad9872 100644 --- a/src/spicelib/devices/bsim4v5/b4v5mask.c +++ b/src/spicelib/devices/bsim4v5/b4v5mask.c @@ -30,6 +30,9 @@ int which, IFvalue *value) { BSIM4v5model *model = (BSIM4v5model *)inst; + + IGNORE(ckt); + switch(which) { case BSIM4v5_MOD_MOBMOD : value->iValue = model->BSIM4v5mobMod; diff --git a/src/spicelib/devices/bsim4v5/b4v5par.c b/src/spicelib/devices/bsim4v5/b4v5par.c index 92f202973..160694a94 100644 --- a/src/spicelib/devices/bsim4v5/b4v5par.c +++ b/src/spicelib/devices/bsim4v5/b4v5par.c @@ -30,6 +30,8 @@ IFvalue *select) BSIM4v5instance *here = (BSIM4v5instance*)inst; + IGNORE(select); + if ( !cp_getvar( "scale", CP_REAL, (double*) &scale ) ) scale = 1; switch(param) diff --git a/src/spicelib/devices/cap/capmask.c b/src/spicelib/devices/cap/capmask.c index a345d4bb1..8997ab650 100644 --- a/src/spicelib/devices/cap/capmask.c +++ b/src/spicelib/devices/cap/capmask.c @@ -20,6 +20,9 @@ int CAPmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { CAPmodel *here = (CAPmodel*)inst; + + IGNORE(ckt); + switch(which) { case CAP_MOD_TNOM: value->rValue = here->CAPtnom-CONSTCtoK; diff --git a/src/spicelib/devices/cap/capparam.c b/src/spicelib/devices/cap/capparam.c index 1738594f3..c6ed2ffff 100644 --- a/src/spicelib/devices/cap/capparam.c +++ b/src/spicelib/devices/cap/capparam.c @@ -18,6 +18,9 @@ int CAPparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { CAPinstance *here = (CAPinstance*)inst; + + IGNORE(select); + switch(param) { case CAP_CAP: here->CAPcapac = value->rValue; diff --git a/src/spicelib/devices/cap/cappzld.c b/src/spicelib/devices/cap/cappzld.c index 38b0bdb29..b96b137d2 100644 --- a/src/spicelib/devices/cap/cappzld.c +++ b/src/spicelib/devices/cap/cappzld.c @@ -24,6 +24,8 @@ CAPpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) double m; CAPinstance *here; + IGNORE(ckt); + for( ; model != NULL; model = model->CAPnextModel) { for( here = model->CAPinstances;here != NULL; here = here->CAPnextInstance) { diff --git a/src/spicelib/devices/cccs/cccsload.c b/src/spicelib/devices/cccs/cccsload.c index 534c1e55a..5b9d768f4 100644 --- a/src/spicelib/devices/cccs/cccsload.c +++ b/src/spicelib/devices/cccs/cccsload.c @@ -23,6 +23,8 @@ CCCSload(GENmodel *inModel, CKTcircuit *ckt) CCCSmodel *model = (CCCSmodel*)inModel; CCCSinstance *here; + IGNORE(ckt); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->CCCSnextModel ) { diff --git a/src/spicelib/devices/cccs/cccspar.c b/src/spicelib/devices/cccs/cccspar.c index 87a742550..39c33a338 100644 --- a/src/spicelib/devices/cccs/cccspar.c +++ b/src/spicelib/devices/cccs/cccspar.c @@ -17,6 +17,9 @@ int CCCSparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { CCCSinstance *here = (CCCSinstance*)inst; + + IGNORE(select); + switch(param) { case CCCS_GAIN: here->CCCScoeff = value->rValue; diff --git a/src/spicelib/devices/cccs/cccspzld.c b/src/spicelib/devices/cccs/cccspzld.c index 78676d143..aad8388db 100644 --- a/src/spicelib/devices/cccs/cccspzld.c +++ b/src/spicelib/devices/cccs/cccspzld.c @@ -24,6 +24,9 @@ CCCSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) CCCSmodel *model = (CCCSmodel*)inModel; CCCSinstance *here; + IGNORE(ckt); + IGNORE(s); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->CCCSnextModel ) { diff --git a/src/spicelib/devices/cccs/cccsset.c b/src/spicelib/devices/cccs/cccsset.c index 672428752..8f5c8045b 100644 --- a/src/spicelib/devices/cccs/cccsset.c +++ b/src/spicelib/devices/cccs/cccsset.c @@ -24,6 +24,8 @@ CCCSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states) CCCSmodel *model = (CCCSmodel*)inModel; CCCSinstance *here; + IGNORE(states); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->CCCSnextModel ) { diff --git a/src/spicelib/devices/ccvs/ccvsload.c b/src/spicelib/devices/ccvs/ccvsload.c index a66ef4ad6..422345aa7 100644 --- a/src/spicelib/devices/ccvs/ccvsload.c +++ b/src/spicelib/devices/ccvs/ccvsload.c @@ -23,6 +23,8 @@ CCVSload(GENmodel *inModel, CKTcircuit *ckt) CCVSmodel *model = (CCVSmodel*)inModel; CCVSinstance *here; + IGNORE(ckt); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->CCVSnextModel ) { diff --git a/src/spicelib/devices/ccvs/ccvspar.c b/src/spicelib/devices/ccvs/ccvspar.c index e82f450dd..c11f89ba3 100644 --- a/src/spicelib/devices/ccvs/ccvspar.c +++ b/src/spicelib/devices/ccvs/ccvspar.c @@ -17,6 +17,9 @@ int CCVSparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { CCVSinstance *here = (CCVSinstance*)inst; + + IGNORE(select); + switch(param) { case CCVS_TRANS: here->CCVScoeff = value->rValue; diff --git a/src/spicelib/devices/ccvs/ccvspzld.c b/src/spicelib/devices/ccvs/ccvspzld.c index 39c4c70a4..c16644ad0 100644 --- a/src/spicelib/devices/ccvs/ccvspzld.c +++ b/src/spicelib/devices/ccvs/ccvspzld.c @@ -24,6 +24,9 @@ CCVSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) CCVSmodel *model = (CCVSmodel*)inModel; CCVSinstance *here; + IGNORE(ckt); + IGNORE(s); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->CCVSnextModel ) { diff --git a/src/spicelib/devices/ccvs/ccvsset.c b/src/spicelib/devices/ccvs/ccvsset.c index b7aca6855..002378655 100644 --- a/src/spicelib/devices/ccvs/ccvsset.c +++ b/src/spicelib/devices/ccvs/ccvsset.c @@ -22,6 +22,8 @@ CCVSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states) int error; CKTnode *tmp; + IGNORE(states); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->CCVSnextModel ) { diff --git a/src/spicelib/devices/cpl/cplask.c b/src/spicelib/devices/cpl/cplask.c index 766a34097..e385c1814 100644 --- a/src/spicelib/devices/cpl/cplask.c +++ b/src/spicelib/devices/cpl/cplask.c @@ -20,6 +20,9 @@ CPLask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *s { CPLinstance *here = (CPLinstance *)inst; + IGNORE(ckt); + IGNORE(select); + switch(which) { case CPL_POS_NODE: value->v.vec.sVec = here->in_node_names; diff --git a/src/spicelib/devices/cpl/cplload.c b/src/spicelib/devices/cpl/cplload.c index 9c78b0441..882c9fc23 100644 --- a/src/spicelib/devices/cpl/cplload.c +++ b/src/spicelib/devices/cpl/cplload.c @@ -410,6 +410,8 @@ right_consts(CPLinstance *here, CPLine *cp, int t, int time, double h, double h1 int ext; int noL; + IGNORE(here); + noL = cp->noL; for (j = 0; j < noL; j++) { diff --git a/src/spicelib/devices/cpl/cplmask.c b/src/spicelib/devices/cpl/cplmask.c index dd9c60f1a..fa062121c 100644 --- a/src/spicelib/devices/cpl/cplmask.c +++ b/src/spicelib/devices/cpl/cplmask.c @@ -19,6 +19,9 @@ int CPLmAsk(CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value) { CPLmodel *model = (CPLmodel *)inModel; + + IGNORE(ckt); + switch(which) { case CPL_R: value->v.vec.rVec = model->Rm; diff --git a/src/spicelib/devices/cpl/cplparam.c b/src/spicelib/devices/cpl/cplparam.c index 0820a277c..af7d85045 100644 --- a/src/spicelib/devices/cpl/cplparam.c +++ b/src/spicelib/devices/cpl/cplparam.c @@ -19,6 +19,9 @@ CPLparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { CPLinstance *here = (CPLinstance *)inst; + + IGNORE(select); + switch(param) { case CPL_POS_NODE: here->in_node_names = value->v.vec.sVec; diff --git a/src/spicelib/devices/cpl/cplsetup.c b/src/spicelib/devices/cpl/cplsetup.c index 21f7513da..efd68bf07 100644 --- a/src/spicelib/devices/cpl/cplsetup.c +++ b/src/spicelib/devices/cpl/cplsetup.c @@ -145,6 +145,7 @@ CPLsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *state) char **branchname; int noL; + IGNORE(state); /* loop through all the models */ for( ; model != NULL; model = model->CPLnextModel ) { @@ -534,6 +535,8 @@ new_memory(int dim, int deg, int deg_o) { int i, j; + IGNORE(deg); + for (i = 0; i < dim; i++) for (j = 0; j < dim; j++) SiSv_1[i][j] = (double *) calloc((size_t) (deg_o+1), sizeof(double)); @@ -579,6 +582,8 @@ static double static void free_vector(double *v, int nl, int nh) { + IGNORE(nh); + free((void*) (v +nl)); } @@ -1727,6 +1732,8 @@ root3(double a1, double a2, double a3, double x) static int div3(double a1, double a2, double a3, double x, double *p1, double *p2) { + IGNORE(a2); + *p1 = a1 + x; /* *p2 = a2 + (a1 + x) * x; */ diff --git a/src/spicelib/devices/csw/cswask.c b/src/spicelib/devices/csw/cswask.c index f56c1a76b..0e597c81d 100644 --- a/src/spicelib/devices/csw/cswask.c +++ b/src/spicelib/devices/csw/cswask.c @@ -25,6 +25,9 @@ CSWask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *s { CSWinstance *here = (CSWinstance*)inst; static char *msg = "Current and power not available in ac analysis"; + + IGNORE(select); + switch(which) { case CSW_CONTROL: value->uValue = here->CSWcontName; diff --git a/src/spicelib/devices/csw/cswmask.c b/src/spicelib/devices/csw/cswmask.c index 98907b527..c1e9dc653 100644 --- a/src/spicelib/devices/csw/cswmask.c +++ b/src/spicelib/devices/csw/cswmask.c @@ -24,6 +24,9 @@ int CSWmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { CSWmodel *here = (CSWmodel*)inst; + + IGNORE(ckt); + switch(which) { case CSW_RON: value->rValue = here->CSWonResistance; diff --git a/src/spicelib/devices/csw/cswparam.c b/src/spicelib/devices/csw/cswparam.c index 06cc62d0d..c613c93ab 100644 --- a/src/spicelib/devices/csw/cswparam.c +++ b/src/spicelib/devices/csw/cswparam.c @@ -17,6 +17,9 @@ int CSWparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { CSWinstance *here = (CSWinstance*)inst; + + IGNORE(select); + switch(param) { case CSW_CONTROL: here->CSWcontName = value->uValue; diff --git a/src/spicelib/devices/csw/cswpzld.c b/src/spicelib/devices/csw/cswpzld.c index f2cb65658..546612877 100644 --- a/src/spicelib/devices/csw/cswpzld.c +++ b/src/spicelib/devices/csw/cswpzld.c @@ -27,6 +27,8 @@ CSWpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) double g_now; int current_state; + IGNORE(s); + /* loop through all the switch models */ for( ; model != NULL; model = model->CSWnextModel ) { diff --git a/src/spicelib/devices/dev.c b/src/spicelib/devices/dev.c index bb952efa2..3ad1589ad 100644 --- a/src/spicelib/devices/dev.c +++ b/src/spicelib/devices/dev.c @@ -487,6 +487,7 @@ int load_opus(char *name){ void *dlopen(const char *name,int type) { + IGNORE(type); return LoadLibrary(name); } diff --git a/src/spicelib/devices/devsup.c b/src/spicelib/devices/devsup.c index f70691b82..4a56a4098 100644 --- a/src/spicelib/devices/devsup.c +++ b/src/spicelib/devices/devsup.c @@ -263,6 +263,8 @@ DEVqmeyer(double vgs, /* initial voltage gate-source */ double vddif2; double vgst; + IGNORE(vgb); + #define MAGIC_VDS 0.025 vgst = vgs-von; diff --git a/src/spicelib/devices/dio/diomask.c b/src/spicelib/devices/dio/diomask.c index 9496ec1a5..636515698 100644 --- a/src/spicelib/devices/dio/diomask.c +++ b/src/spicelib/devices/dio/diomask.c @@ -20,6 +20,9 @@ int DIOmAsk (CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value) { DIOmodel *model = (DIOmodel*)inModel; + + IGNORE(ckt); + switch (which) { case DIO_MOD_IS: value->rValue = model->DIOsatCur; diff --git a/src/spicelib/devices/dio/dioparam.c b/src/spicelib/devices/dio/dioparam.c index 1bb85b8ef..fd6add1b5 100644 --- a/src/spicelib/devices/dio/dioparam.c +++ b/src/spicelib/devices/dio/dioparam.c @@ -19,6 +19,9 @@ int DIOparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { DIOinstance *here = (DIOinstance*)inst; + + IGNORE(select); + switch(param) { case DIO_AREA: here->DIOarea = value->rValue; diff --git a/src/spicelib/devices/hfet1/hfetask.c b/src/spicelib/devices/hfet1/hfetask.c index 0110e0219..0da1a5e12 100644 --- a/src/spicelib/devices/hfet1/hfetask.c +++ b/src/spicelib/devices/hfet1/hfetask.c @@ -21,6 +21,9 @@ HFETAask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue { HFETAinstance *here = (HFETAinstance*)inst; static char *msg = "Current and power not available in ac analysis"; + + IGNORE(select); + switch(which) { case HFETA_LENGTH: value->rValue = here->HFETAlength; diff --git a/src/spicelib/devices/hfet1/hfetmask.c b/src/spicelib/devices/hfet1/hfetmask.c index 1865bc082..9f33248db 100644 --- a/src/spicelib/devices/hfet1/hfetmask.c +++ b/src/spicelib/devices/hfet1/hfetmask.c @@ -20,6 +20,9 @@ int HFETAmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { HFETAmodel *here = (HFETAmodel*)inst; + + IGNORE(ckt); + switch(which) { case HFETA_MOD_VTO: value->rValue = here->HFETAthreshold; diff --git a/src/spicelib/devices/hfet1/hfetparam.c b/src/spicelib/devices/hfet1/hfetparam.c index 360eccd10..00a927ebb 100644 --- a/src/spicelib/devices/hfet1/hfetparam.c +++ b/src/spicelib/devices/hfet1/hfetparam.c @@ -15,6 +15,9 @@ int HFETAparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { HFETAinstance *here = (HFETAinstance*)inst; + + IGNORE(select); + switch(param) { case HFETA_LENGTH: here->HFETAlength = value->rValue; diff --git a/src/spicelib/devices/hfet2/hfet2ask.c b/src/spicelib/devices/hfet2/hfet2ask.c index f7a0976ca..63e54a6b2 100644 --- a/src/spicelib/devices/hfet2/hfet2ask.c +++ b/src/spicelib/devices/hfet2/hfet2ask.c @@ -22,6 +22,9 @@ HFET2ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { HFET2instance *here = (HFET2instance*)inst; static char *msg = "Current and power not available in ac analysis"; + + IGNORE(select); + switch(which) { case HFET2_LENGTH: value->rValue = here->HFET2length; diff --git a/src/spicelib/devices/hfet2/hfet2load.c b/src/spicelib/devices/hfet2/hfet2load.c index 1dcbc33c2..4527116e5 100644 --- a/src/spicelib/devices/hfet2/hfet2load.c +++ b/src/spicelib/devices/hfet2/hfet2load.c @@ -384,6 +384,8 @@ static void hfeta2(HFET2model *model, HFET2instance *here, CKTcircuit *ckt, double delvgtvgs; double delvsatevgt; + IGNORE(ckt); + vt = CONSTKoverQ*TEMP; etavth = ETA*vt; vl = VS/TMU*L; diff --git a/src/spicelib/devices/hfet2/hfet2mask.c b/src/spicelib/devices/hfet2/hfet2mask.c index 7f807199d..b7eb758f0 100644 --- a/src/spicelib/devices/hfet2/hfet2mask.c +++ b/src/spicelib/devices/hfet2/hfet2mask.c @@ -20,6 +20,9 @@ int HFET2mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { HFET2model *here = (HFET2model*)inst; + + IGNORE(ckt); + switch(which) { case HFET2_MOD_VTO: value->rValue = here->HFET2vto; diff --git a/src/spicelib/devices/hfet2/hfet2param.c b/src/spicelib/devices/hfet2/hfet2param.c index 88399e280..a391a4954 100644 --- a/src/spicelib/devices/hfet2/hfet2param.c +++ b/src/spicelib/devices/hfet2/hfet2param.c @@ -14,6 +14,9 @@ int HFET2param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { HFET2instance *here = (HFET2instance*)inst; + + IGNORE(select); + switch(param) { case HFET2_LENGTH: L = value->rValue; diff --git a/src/spicelib/devices/hisim/hsm1ask.c b/src/spicelib/devices/hisim/hsm1ask.c index ec04b2d6f..fb5e84515 100644 --- a/src/spicelib/devices/hisim/hsm1ask.c +++ b/src/spicelib/devices/hisim/hsm1ask.c @@ -22,6 +22,8 @@ HSM1ask(CKTcircuit *ckt, GENinstance *inst, int which, { HSM1instance *here = (HSM1instance*)inst; + IGNORE(select); + switch (which) { case HSM1_L: value->rValue = here->HSM1_l; diff --git a/src/spicelib/devices/hisim/hsm1eval102.c b/src/spicelib/devices/hisim/hsm1eval102.c index 1737f0d0a..6e6cdfdec 100644 --- a/src/spicelib/devices/hisim/hsm1eval102.c +++ b/src/spicelib/devices/hisim/hsm1eval102.c @@ -448,6 +448,7 @@ double T10 , T20 , T21 , T30 , T31 ; /* intrinsic fringing capacitance */ double Cgdf, Cgdfring ; + IGNORE(pMS); /*================ Start of executable code.=================*/ diff --git a/src/spicelib/devices/hisim/hsm1eval112.c b/src/spicelib/devices/hisim/hsm1eval112.c index c295286bc..d9545e39e 100644 --- a/src/spicelib/devices/hisim/hsm1eval112.c +++ b/src/spicelib/devices/hisim/hsm1eval112.c @@ -474,6 +474,7 @@ double T7_dVbs , T7_dVds , T7_dVgs ; double T8_dVbs , T8_dVds , T8_dVgs ; double T10 , T20 , T21 , T30 , T31 ; + IGNORE(pMS); /*================ Start of executable code.=================*/ diff --git a/src/spicelib/devices/hisim/hsm1eval120.c b/src/spicelib/devices/hisim/hsm1eval120.c index dce683bd5..199e492e0 100644 --- a/src/spicelib/devices/hisim/hsm1eval120.c +++ b/src/spicelib/devices/hisim/hsm1eval120.c @@ -545,6 +545,7 @@ double T20 , T21 , T30 , T31 ; double c_eox ; + IGNORE(pMS); /*================ Start of executable code.=================*/ diff --git a/src/spicelib/devices/hisim/hsm1ld.c b/src/spicelib/devices/hisim/hsm1ld.c index 468fe9967..a8ac9f55e 100644 --- a/src/spicelib/devices/hisim/hsm1ld.c +++ b/src/spicelib/devices/hisim/hsm1ld.c @@ -24,6 +24,9 @@ static void ShowPhysVals(HSM1instance *here, HSM1model *model,int isFirst, double vds, double vgs, double vbs, double vgd, double vbd, double vgb) { + IGNORE(vgd); + 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; diff --git a/src/spicelib/devices/hisim/hsm1mask.c b/src/spicelib/devices/hisim/hsm1mask.c index 6ec4310f4..edb8ef9fb 100644 --- a/src/spicelib/devices/hisim/hsm1mask.c +++ b/src/spicelib/devices/hisim/hsm1mask.c @@ -20,6 +20,9 @@ int HSM1mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { HSM1model *model = (HSM1model *)inst; + + IGNORE(ckt); + switch (which) { case HSM1_MOD_NMOS: value->iValue = model->HSM1_type; diff --git a/src/spicelib/devices/hisim/hsm1par.c b/src/spicelib/devices/hisim/hsm1par.c index bf8f6be73..c00b753c9 100644 --- a/src/spicelib/devices/hisim/hsm1par.c +++ b/src/spicelib/devices/hisim/hsm1par.c @@ -18,6 +18,9 @@ int HSM1param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { HSM1instance *here = (HSM1instance*)inst; + + IGNORE(select); + switch (param) { case HSM1_W: here->HSM1_w = value->rValue; diff --git a/src/spicelib/devices/hisim/hsm1pzld.c b/src/spicelib/devices/hisim/hsm1pzld.c index 18d6bbbf2..0b6914170 100644 --- a/src/spicelib/devices/hisim/hsm1pzld.c +++ b/src/spicelib/devices/hisim/hsm1pzld.c @@ -35,6 +35,8 @@ HSM1pzLoad(GENmodel *inModel, register CKTcircuit *ckt, double m; /* Multiplier */ + IGNORE(ckt); + for ( ;model != NULL ;model = model->HSM1nextModel ) { for ( here = model->HSM1instances ;here!= NULL ; here = here->HSM1nextInstance ) { diff --git a/src/spicelib/devices/hisim/hsm1temp.c b/src/spicelib/devices/hisim/hsm1temp.c index 115f00dbf..b2a2c7552 100644 --- a/src/spicelib/devices/hisim/hsm1temp.c +++ b/src/spicelib/devices/hisim/hsm1temp.c @@ -19,6 +19,9 @@ int HSM1temp(GENmodel *inModel, CKTcircuit *ckt) { + IGNORE(inModel); + IGNORE(ckt); + /* "ckt->CKTtemp" dependence of HiSIM parameters is treated all in * HSM1evaluate102/112/120(). So there is no task in HSM1temp(). */ diff --git a/src/spicelib/devices/ind/indmask.c b/src/spicelib/devices/ind/indmask.c index f5b3b7bbf..906cb08c0 100644 --- a/src/spicelib/devices/ind/indmask.c +++ b/src/spicelib/devices/ind/indmask.c @@ -19,6 +19,9 @@ int INDmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { INDmodel *here = (INDmodel*)inst; + + IGNORE(ckt); + switch(which) { case IND_MOD_IND: value->rValue = here->INDmInd; diff --git a/src/spicelib/devices/ind/indparam.c b/src/spicelib/devices/ind/indparam.c index abda2364a..35f6a9f41 100644 --- a/src/spicelib/devices/ind/indparam.c +++ b/src/spicelib/devices/ind/indparam.c @@ -17,6 +17,9 @@ int INDparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { INDinstance *here = (INDinstance*)inst; + + IGNORE(select); + switch(param) { case IND_IND: here->INDinduct = value->rValue; diff --git a/src/spicelib/devices/ind/indpzld.c b/src/spicelib/devices/ind/indpzld.c index 2b7e8ef51..3716ceee9 100644 --- a/src/spicelib/devices/ind/indpzld.c +++ b/src/spicelib/devices/ind/indpzld.c @@ -21,6 +21,8 @@ INDpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) double val; INDinstance *here; + IGNORE(ckt); + for( ; model != NULL; model = model->INDnextModel) { for( here = model->INDinstances;here != NULL; here = here->INDnextInstance) { diff --git a/src/spicelib/devices/ind/mutparam.c b/src/spicelib/devices/ind/mutparam.c index 440cf8d94..47f406fab 100644 --- a/src/spicelib/devices/ind/mutparam.c +++ b/src/spicelib/devices/ind/mutparam.c @@ -18,6 +18,9 @@ int MUTparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MUTinstance *here = (MUTinstance*)inst; + + IGNORE(select); + switch(param) { case MUT_COEFF: here->MUTcoupling = value->rValue; diff --git a/src/spicelib/devices/ind/mutpzld.c b/src/spicelib/devices/ind/mutpzld.c index 82586c57b..3e7fc3fcf 100644 --- a/src/spicelib/devices/ind/mutpzld.c +++ b/src/spicelib/devices/ind/mutpzld.c @@ -22,6 +22,8 @@ MUTpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) double val; MUTinstance *here; + IGNORE(ckt); + for( ; model != NULL; model = model->MUTnextModel) { for( here = model->MUTinstances;here != NULL; here = here->MUTnextInstance) { diff --git a/src/spicelib/devices/ind/mutsetup.c b/src/spicelib/devices/ind/mutsetup.c index 579398f05..6c0ca4054 100644 --- a/src/spicelib/devices/ind/mutsetup.c +++ b/src/spicelib/devices/ind/mutsetup.c @@ -26,6 +26,8 @@ MUTsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states) int ktype; int error; + IGNORE(states); + /* loop through all the inductor models */ for( ; model != NULL; model = model->MUTnextModel ) { diff --git a/src/spicelib/devices/ind/mutsprt.c b/src/spicelib/devices/ind/mutsprt.c index 0b0e6f6b1..9062e96be 100644 --- a/src/spicelib/devices/ind/mutsprt.c +++ b/src/spicelib/devices/ind/mutsprt.c @@ -25,6 +25,8 @@ MUTsPrint(GENmodel *inModel, CKTcircuit* ckt) MUTmodel *model = (MUTmodel*)inModel; MUTinstance *here; + IGNORE(ckt); + printf("MUTUAL INDUCTORS-----------------\n"); /* loop through all the inductor models */ for( ; model != NULL; model = model->MUTnextModel ) { diff --git a/src/spicelib/devices/ind/muttemp.c b/src/spicelib/devices/ind/muttemp.c index 348703e71..fb3b20ccd 100644 --- a/src/spicelib/devices/ind/muttemp.c +++ b/src/spicelib/devices/ind/muttemp.c @@ -21,6 +21,8 @@ MUTtemp(GENmodel *inModel, CKTcircuit *ckt) MUTinstance *here; double ind1, ind2; + IGNORE(ckt); + /* loop through all the inductor models */ for( ; model != NULL; model = model->MUTnextModel ) { diff --git a/src/spicelib/devices/isrc/isrcask.c b/src/spicelib/devices/isrc/isrcask.c index c8eeff788..bc613357f 100644 --- a/src/spicelib/devices/isrc/isrcask.c +++ b/src/spicelib/devices/isrc/isrcask.c @@ -28,6 +28,8 @@ ISRCask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue * int temp; double *v, *w; + IGNORE(select); + switch(which) { case ISRC_DC: value->rValue = here->ISRCdcValue; diff --git a/src/spicelib/devices/isrc/isrcpar.c b/src/spicelib/devices/isrc/isrcpar.c index be0ab9aa3..950df5b5b 100644 --- a/src/spicelib/devices/isrc/isrcpar.c +++ b/src/spicelib/devices/isrc/isrcpar.c @@ -20,6 +20,9 @@ ISRCparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) int i; ISRCinstance *here = (ISRCinstance*)inst; + + IGNORE(select); + switch(param) { case ISRC_DC: here->ISRCdcValue = value->rValue; diff --git a/src/spicelib/devices/isrc/isrctemp.c b/src/spicelib/devices/isrc/isrctemp.c index 2ee1a3dc2..182d3c22f 100644 --- a/src/spicelib/devices/isrc/isrctemp.c +++ b/src/spicelib/devices/isrc/isrctemp.c @@ -18,6 +18,8 @@ ISRCtemp(GENmodel *inModel, CKTcircuit *ckt) ISRCinstance *here; double radians; + IGNORE(ckt); + for( ; model != NULL; model = model->ISRCnextModel ) { /* loop through all the instances of the model */ diff --git a/src/spicelib/devices/jfet/jfetask.c b/src/spicelib/devices/jfet/jfetask.c index f479d421f..a1ec67091 100644 --- a/src/spicelib/devices/jfet/jfetask.c +++ b/src/spicelib/devices/jfet/jfetask.c @@ -22,6 +22,9 @@ JFETask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { JFETinstance *here = (JFETinstance*)inst; static char *msg = "Current and power not available for ac analysis"; + + IGNORE(select); + switch(which) { case JFET_TEMP: value->rValue = here->JFETtemp-CONSTCtoK; diff --git a/src/spicelib/devices/jfet/jfetmask.c b/src/spicelib/devices/jfet/jfetmask.c index 70198e576..6773e1b2d 100644 --- a/src/spicelib/devices/jfet/jfetmask.c +++ b/src/spicelib/devices/jfet/jfetmask.c @@ -23,6 +23,9 @@ int JFETmAsk(CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value) { JFETmodel *model = (JFETmodel*)inModel; + + IGNORE(ckt); + switch(which) { case JFET_MOD_TNOM: value->rValue = model->JFETtnom-CONSTCtoK; diff --git a/src/spicelib/devices/jfet/jfetpar.c b/src/spicelib/devices/jfet/jfetpar.c index b4bf52909..1af0e3bbb 100644 --- a/src/spicelib/devices/jfet/jfetpar.c +++ b/src/spicelib/devices/jfet/jfetpar.c @@ -18,6 +18,9 @@ int JFETparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { JFETinstance *here = (JFETinstance *)inst; + + IGNORE(select); + switch(param) { case JFET_TEMP: here->JFETtemp = value->rValue+CONSTCtoK; diff --git a/src/spicelib/devices/jfet2/jfet2ask.c b/src/spicelib/devices/jfet2/jfet2ask.c index 2e01e5dc8..6ecf3ff01 100644 --- a/src/spicelib/devices/jfet2/jfet2ask.c +++ b/src/spicelib/devices/jfet2/jfet2ask.c @@ -25,6 +25,9 @@ JFET2ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { JFET2instance *here = (JFET2instance*)inst; static char *msg = "Current and power not available for ac analysis"; + + IGNORE(select); + switch(which) { case JFET2_TEMP: value->rValue = here->JFET2temp-CONSTCtoK; diff --git a/src/spicelib/devices/jfet2/jfet2mask.c b/src/spicelib/devices/jfet2/jfet2mask.c index 1cc18c93e..d004fac03 100644 --- a/src/spicelib/devices/jfet2/jfet2mask.c +++ b/src/spicelib/devices/jfet2/jfet2mask.c @@ -25,6 +25,9 @@ int JFET2mAsk(CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value) { JFET2model *model = (JFET2model*)inModel; + + IGNORE(ckt); + switch(which) { case JFET2_MOD_TNOM: value->rValue = model->JFET2tnom-CONSTCtoK; diff --git a/src/spicelib/devices/jfet2/jfet2par.c b/src/spicelib/devices/jfet2/jfet2par.c index 638d0dc3c..b2120dcc7 100644 --- a/src/spicelib/devices/jfet2/jfet2par.c +++ b/src/spicelib/devices/jfet2/jfet2par.c @@ -22,6 +22,9 @@ int JFET2param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { JFET2instance *here = (JFET2instance *)inst; + + IGNORE(select); + switch(param) { case JFET2_TEMP: here->JFET2temp = value->rValue+CONSTCtoK; diff --git a/src/spicelib/devices/jfet2/psmodel.c b/src/spicelib/devices/jfet2/psmodel.c index 874cabece..aeb7d797c 100644 --- a/src/spicelib/devices/jfet2/psmodel.c +++ b/src/spicelib/devices/jfet2/psmodel.c @@ -349,6 +349,8 @@ double *xGds double cdsqr = fac * ids * del * wtd/wtddet; + IGNORE(ckt); + *Gm = dr*gm - di*xgm; *xGm = di*gm + dr*xgm; diff --git a/src/spicelib/devices/ltra/ltraask.c b/src/spicelib/devices/ltra/ltraask.c index 50b7cf882..f94f0794f 100644 --- a/src/spicelib/devices/ltra/ltraask.c +++ b/src/spicelib/devices/ltra/ltraask.c @@ -22,6 +22,9 @@ LTRAask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue * LTRAinstance *here = (LTRAinstance *) inst; int temp; + IGNORE(select); + IGNORE(ckt); + switch (which) { case LTRA_POS_NODE1: value->iValue = here->LTRAposNode1; diff --git a/src/spicelib/devices/ltra/ltramask.c b/src/spicelib/devices/ltra/ltramask.c index fea412ef1..8141d239a 100644 --- a/src/spicelib/devices/ltra/ltramask.c +++ b/src/spicelib/devices/ltra/ltramask.c @@ -19,6 +19,8 @@ LTRAmAsk(CKTcircuit *ckt, GENmodel *inModel, int param, IFvalue *value) { LTRAmodel *mods = (LTRAmodel *) inModel; + IGNORE(ckt); + switch (param) { case LTRA_MOD_LTRA: value->iValue = 1; diff --git a/src/spicelib/devices/ltra/ltramisc.c b/src/spicelib/devices/ltra/ltramisc.c index a2c3d8708..3e8ba0f49 100644 --- a/src/spicelib/devices/ltra/ltramisc.c +++ b/src/spicelib/devices/ltra/ltramisc.c @@ -272,6 +272,7 @@ LTRArlcH1dashFunc(double time, double T, double alpha, double beta) { double besselarg, exparg, returnval; /* T is not used in this function */ + IGNORE(T); /* * result = alpha * e^{- beta*time} * {I_1(alpha*time) - I_0(alpha*time)} @@ -450,6 +451,8 @@ LTRArcCoeffsSetup(double *h1dashfirstcoeff, double *h2firstcoeff, double *h3dash int doh1 = 1, doh2 = 1, doh3 = 1; int i, auxindex; + IGNORE(listsize); + /* coefflists should already have been allocated to the necessary size */ #ifdef LTRAdebug @@ -590,6 +593,8 @@ LTRArlcCoeffsSetup(double *h1dashfirstcoeff, double *h2firstcoeff, double *h3das int i, auxindex; + IGNORE(listsize); + /* coefflists should already have been allocated to the necessary size */ #ifdef LTRAdebug diff --git a/src/spicelib/devices/ltra/ltrapar.c b/src/spicelib/devices/ltra/ltrapar.c index 1a18a6fb3..45a46d987 100644 --- a/src/spicelib/devices/ltra/ltrapar.c +++ b/src/spicelib/devices/ltra/ltrapar.c @@ -15,6 +15,9 @@ int LTRAparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { LTRAinstance *here = (LTRAinstance *) inst; + + IGNORE(select); + switch (param) { case LTRA_V1: here->LTRAinitVolt1 = value->rValue; diff --git a/src/spicelib/devices/ltra/ltraset.c b/src/spicelib/devices/ltra/ltraset.c index c611923be..35b5c59d2 100644 --- a/src/spicelib/devices/ltra/ltraset.c +++ b/src/spicelib/devices/ltra/ltraset.c @@ -22,6 +22,8 @@ LTRAsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *state) int error; CKTnode *tmp; + IGNORE(state); + /* loop through all the transmission line models */ for (; model != NULL; model = model->LTRAnextModel) { diff --git a/src/spicelib/devices/ltra/ltratemp.c b/src/spicelib/devices/ltra/ltratemp.c index 650a1ce69..7ed7936d8 100644 --- a/src/spicelib/devices/ltra/ltratemp.c +++ b/src/spicelib/devices/ltra/ltratemp.c @@ -20,6 +20,8 @@ LTRAtemp(GENmodel *inModel, CKTcircuit *ckt) LTRAmodel *model = (LTRAmodel *) inModel; LTRAinstance *here; + IGNORE(ckt); + /* loop through all the transmission line models */ for (; model != NULL; model = model->LTRAnextModel) { /* diff --git a/src/spicelib/devices/mes/mesask.c b/src/spicelib/devices/mes/mesask.c index e96a40d04..d4b6a9f18 100644 --- a/src/spicelib/devices/mes/mesask.c +++ b/src/spicelib/devices/mes/mesask.c @@ -20,6 +20,9 @@ MESask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *s { MESinstance *here = (MESinstance*)inst; static char *msg = "Current and power not available in ac analysis"; + + IGNORE(select); + switch(which) { case MES_AREA: value->rValue = here->MESarea; diff --git a/src/spicelib/devices/mes/mesmask.c b/src/spicelib/devices/mes/mesmask.c index 68a5af077..2911f3554 100644 --- a/src/spicelib/devices/mes/mesmask.c +++ b/src/spicelib/devices/mes/mesmask.c @@ -19,6 +19,9 @@ int MESmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { MESmodel *here = (MESmodel*)inst; + + IGNORE(ckt); + switch(which) { case MES_MOD_VTO: value->rValue = here->MESthreshold; diff --git a/src/spicelib/devices/mes/mesparam.c b/src/spicelib/devices/mes/mesparam.c index 2848a2d3d..88d73a656 100644 --- a/src/spicelib/devices/mes/mesparam.c +++ b/src/spicelib/devices/mes/mesparam.c @@ -17,6 +17,9 @@ int MESparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MESinstance *here = (MESinstance*)inst; + + IGNORE(select); + switch(param) { case MES_AREA: here->MESarea = value->rValue; diff --git a/src/spicelib/devices/mes/mestemp.c b/src/spicelib/devices/mes/mestemp.c index f2c56ecd4..bdff2a60b 100644 --- a/src/spicelib/devices/mes/mestemp.c +++ b/src/spicelib/devices/mes/mestemp.c @@ -21,6 +21,8 @@ MEStemp(GENmodel *inModel, CKTcircuit *ckt) MESmodel *model = (MESmodel*)inModel; double xfc, temp; + IGNORE(ckt); + /* loop through all the diode models */ for( ; model != NULL; model = model->MESnextModel ) { diff --git a/src/spicelib/devices/mesa/mesaask.c b/src/spicelib/devices/mesa/mesaask.c index 10f4ed1f1..08d1cceae 100644 --- a/src/spicelib/devices/mesa/mesaask.c +++ b/src/spicelib/devices/mesa/mesaask.c @@ -21,6 +21,9 @@ MESAask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue * { MESAinstance *here = (MESAinstance*)inst; static char *msg = "Current and power not available in ac analysis"; + + IGNORE(select); + switch(which) { case MESA_LENGTH: value->rValue = here->MESAlength; diff --git a/src/spicelib/devices/mesa/mesamask.c b/src/spicelib/devices/mesa/mesamask.c index 6ddec8c93..36f1ce848 100644 --- a/src/spicelib/devices/mesa/mesamask.c +++ b/src/spicelib/devices/mesa/mesamask.c @@ -19,6 +19,9 @@ int MESAmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { MESAmodel *here = (MESAmodel*)inst; + + IGNORE(ckt); + switch(which) { case MESA_MOD_VTO: value->rValue = here->MESAthreshold; diff --git a/src/spicelib/devices/mesa/mesaparam.c b/src/spicelib/devices/mesa/mesaparam.c index ba6ea64fe..2dca4e7d8 100644 --- a/src/spicelib/devices/mesa/mesaparam.c +++ b/src/spicelib/devices/mesa/mesaparam.c @@ -16,6 +16,9 @@ int MESAparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MESAinstance *here = (MESAinstance*)inst; + + IGNORE(select); + switch(param) { case MESA_LENGTH: here->MESAlength = value->rValue; diff --git a/src/spicelib/devices/mos1/mos1mask.c b/src/spicelib/devices/mos1/mos1mask.c index 56c12f5d5..1a95c99c2 100644 --- a/src/spicelib/devices/mos1/mos1mask.c +++ b/src/spicelib/devices/mos1/mos1mask.c @@ -17,6 +17,9 @@ int MOS1mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { MOS1model *model = (MOS1model *)inst; + + IGNORE(ckt); + switch(which) { case MOS1_MOD_TNOM: value->rValue = model->MOS1tnom-CONSTCtoK; diff --git a/src/spicelib/devices/mos1/mos1par.c b/src/spicelib/devices/mos1/mos1par.c index f97c97877..4dcd13b26 100644 --- a/src/spicelib/devices/mos1/mos1par.c +++ b/src/spicelib/devices/mos1/mos1par.c @@ -19,6 +19,9 @@ int MOS1param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MOS1instance *here = (MOS1instance *)inst; + + IGNORE(select); + switch(param) { case MOS1_TEMP: here->MOS1temp = value->rValue+CONSTCtoK; diff --git a/src/spicelib/devices/mos2/mos2mask.c b/src/spicelib/devices/mos2/mos2mask.c index 1a1eefc82..218706ac7 100644 --- a/src/spicelib/devices/mos2/mos2mask.c +++ b/src/spicelib/devices/mos2/mos2mask.c @@ -15,6 +15,9 @@ MOS2mAsk(CKTcircuit *ckt, GENmodel *inModel, int param, IFvalue *value) { MOS2model *model = (MOS2model *)inModel; + + IGNORE(ckt); + switch(param) { case MOS2_MOD_TNOM: value->rValue = model->MOS2tnom - CONSTCtoK; diff --git a/src/spicelib/devices/mos2/mos2par.c b/src/spicelib/devices/mos2/mos2par.c index 652c106f6..d0428bb77 100644 --- a/src/spicelib/devices/mos2/mos2par.c +++ b/src/spicelib/devices/mos2/mos2par.c @@ -20,6 +20,9 @@ MOS2param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MOS2instance *here = (MOS2instance *)inst; + + IGNORE(select); + switch(param) { case MOS2_TEMP: here->MOS2temp = value->rValue+CONSTCtoK; diff --git a/src/spicelib/devices/mos3/mos3mask.c b/src/spicelib/devices/mos3/mos3mask.c index 2f2c6a156..4b5616e51 100644 --- a/src/spicelib/devices/mos3/mos3mask.c +++ b/src/spicelib/devices/mos3/mos3mask.c @@ -21,6 +21,9 @@ int MOS3mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { MOS3model *here = (MOS3model *)inst; + + IGNORE(ckt); + switch(which) { case MOS3_MOD_TNOM: value->rValue = here->MOS3tnom-CONSTCtoK; diff --git a/src/spicelib/devices/mos3/mos3par.c b/src/spicelib/devices/mos3/mos3par.c index 2cf27a8cb..201533bc5 100644 --- a/src/spicelib/devices/mos3/mos3par.c +++ b/src/spicelib/devices/mos3/mos3par.c @@ -19,6 +19,9 @@ int MOS3param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MOS3instance *here = (MOS3instance *)inst; + + IGNORE(select); + switch(param) { case MOS3_M: diff --git a/src/spicelib/devices/mos6/mos6mask.c b/src/spicelib/devices/mos6/mos6mask.c index 97c18a6bd..98bdbc06c 100644 --- a/src/spicelib/devices/mos6/mos6mask.c +++ b/src/spicelib/devices/mos6/mos6mask.c @@ -15,6 +15,9 @@ MOS6mAsk(CKTcircuit *ckt, GENmodel *inModel, int param, IFvalue *value) { MOS6model *model = (MOS6model *)inModel; + + IGNORE(ckt); + switch(param) { case MOS6_MOD_TNOM: value->rValue = model->MOS6tnom; diff --git a/src/spicelib/devices/mos6/mos6par.c b/src/spicelib/devices/mos6/mos6par.c index 2b2b082b7..3cd16d057 100644 --- a/src/spicelib/devices/mos6/mos6par.c +++ b/src/spicelib/devices/mos6/mos6par.c @@ -18,6 +18,9 @@ int MOS6param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MOS6instance *here = (MOS6instance *)inst; + + IGNORE(select); + switch(param) { case MOS6_TEMP: here->MOS6temp = value->rValue+CONSTCtoK; diff --git a/src/spicelib/devices/mos9/mos9mask.c b/src/spicelib/devices/mos9/mos9mask.c index 232404350..5e80d883e 100644 --- a/src/spicelib/devices/mos9/mos9mask.c +++ b/src/spicelib/devices/mos9/mos9mask.c @@ -21,6 +21,9 @@ int MOS9mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { MOS9model *here = (MOS9model *)inst; + + IGNORE(ckt); + switch(which) { case MOS9_MOD_TNOM: value->rValue = here->MOS9tnom-CONSTCtoK; diff --git a/src/spicelib/devices/mos9/mos9par.c b/src/spicelib/devices/mos9/mos9par.c index ce6706679..d1daebc3c 100644 --- a/src/spicelib/devices/mos9/mos9par.c +++ b/src/spicelib/devices/mos9/mos9par.c @@ -20,6 +20,9 @@ MOS9param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { MOS9instance *here = (MOS9instance *)inst; + + IGNORE(select); + switch(param) { case MOS9_M: diff --git a/src/spicelib/devices/nbjt/nbjtask.c b/src/spicelib/devices/nbjt/nbjtask.c index 898618684..116f3db92 100644 --- a/src/spicelib/devices/nbjt/nbjtask.c +++ b/src/spicelib/devices/nbjt/nbjtask.c @@ -21,6 +21,9 @@ int NBJTask(CKTcircuit *ckt, GENinstance *inInst, int which, IFvalue *value, IFvalue *select) { NBJTinstance *inst = (NBJTinstance *) inInst; + + IGNORE(select); + switch (which) { case NBJT_AREA: value->rValue = inst->NBJTarea; diff --git a/src/spicelib/devices/nbjt/nbjtdump.c b/src/spicelib/devices/nbjt/nbjtdump.c index 11e4b8273..edac66517 100644 --- a/src/spicelib/devices/nbjt/nbjtdump.c +++ b/src/spicelib/devices/nbjt/nbjtdump.c @@ -154,6 +154,8 @@ NBJTacct(GENmodel *inModel, CKTcircuit *ckt, FILE *file) register NBJTinstance *inst; OUTPcard *output; + IGNORE(ckt); + for (; model != NULL; model = model->NBJTnextModel) { output = model->NBJToutputs; for (inst = model->NBJTinstances; inst != NULL; diff --git a/src/spicelib/devices/nbjt/nbjtmpar.c b/src/spicelib/devices/nbjt/nbjtmpar.c index a87cdca52..0e1acee71 100644 --- a/src/spicelib/devices/nbjt/nbjtmpar.c +++ b/src/spicelib/devices/nbjt/nbjtmpar.c @@ -17,6 +17,9 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group int NBJTmParam(int param, IFvalue *value, GENmodel *inModel) { + IGNORE(value); + IGNORE(inModel); + switch (param) { case NBJT_MOD_NBJT: /* no action - already know it is a numerical bjt, but this */ diff --git a/src/spicelib/devices/nbjt/nbjtparm.c b/src/spicelib/devices/nbjt/nbjtparm.c index 40e75c3fb..c0758b5e5 100644 --- a/src/spicelib/devices/nbjt/nbjtparm.c +++ b/src/spicelib/devices/nbjt/nbjtparm.c @@ -18,6 +18,9 @@ int NBJTparam(int param, IFvalue *value, GENinstance *inInst, IFvalue *select) { register NBJTinstance *inst = (NBJTinstance *) inInst; + + IGNORE(select); + switch (param) { case NBJT_AREA: inst->NBJTarea = value->rValue; diff --git a/src/spicelib/devices/nbjt/nbjtpzld.c b/src/spicelib/devices/nbjt/nbjtpzld.c index cc318f067..be971d1f6 100644 --- a/src/spicelib/devices/nbjt/nbjtpzld.c +++ b/src/spicelib/devices/nbjt/nbjtpzld.c @@ -29,6 +29,8 @@ NBJTpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) SPcomplex yIcVce, yIcVbe; double startTime; + IGNORE(ckt); + for (; model != NULL; model = model->NBJTnextModel) { FieldDepMobility = model->NBJTmodels->MODLfieldDepMobility; Srh = model->NBJTmodels->MODLsrh; diff --git a/src/spicelib/devices/nbjt2/nbt2ask.c b/src/spicelib/devices/nbjt2/nbt2ask.c index e9aa90468..92a945d3b 100644 --- a/src/spicelib/devices/nbjt2/nbt2ask.c +++ b/src/spicelib/devices/nbjt2/nbt2ask.c @@ -22,6 +22,9 @@ int NBJT2ask(CKTcircuit *ckt, GENinstance *inInst, int which, IFvalue *value, IFvalue *select) { NBJT2instance *inst = (NBJT2instance *) inInst; + + IGNORE(select); + switch (which) { case NBJT2_WIDTH: value->rValue = inst->NBJT2width; diff --git a/src/spicelib/devices/nbjt2/nbt2dump.c b/src/spicelib/devices/nbjt2/nbt2dump.c index d80a22c11..1fb0ef9a7 100644 --- a/src/spicelib/devices/nbjt2/nbt2dump.c +++ b/src/spicelib/devices/nbjt2/nbt2dump.c @@ -155,6 +155,8 @@ NBJT2acct(GENmodel *inModel, CKTcircuit *ckt, FILE *file) register NBJT2instance *inst; OUTPcard *output; + IGNORE(ckt); + for (; model != NULL; model = model->NBJT2nextModel) { output = model->NBJT2outputs; for (inst = model->NBJT2instances; inst != NULL; diff --git a/src/spicelib/devices/nbjt2/nbt2mpar.c b/src/spicelib/devices/nbjt2/nbt2mpar.c index ff85a62d0..d6619d3c0 100644 --- a/src/spicelib/devices/nbjt2/nbt2mpar.c +++ b/src/spicelib/devices/nbjt2/nbt2mpar.c @@ -17,6 +17,9 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group int NBJT2mParam(int param, IFvalue *value, GENmodel *inModel) { + IGNORE(value); + IGNORE(inModel); + switch (param) { case NBJT2_MOD_NBJT: /* no action - already know it is a 2d-numerical bjt, but this */ diff --git a/src/spicelib/devices/nbjt2/nbt2parm.c b/src/spicelib/devices/nbjt2/nbt2parm.c index 930d80685..93bb4c9ee 100644 --- a/src/spicelib/devices/nbjt2/nbt2parm.c +++ b/src/spicelib/devices/nbjt2/nbt2parm.c @@ -18,6 +18,9 @@ int NBJT2param(int param, IFvalue *value, GENinstance *inInst, IFvalue *select) { register NBJT2instance *inst = (NBJT2instance *) inInst; + + IGNORE(select); + switch (param) { case NBJT2_WIDTH: inst->NBJT2width = value->rValue; diff --git a/src/spicelib/devices/nbjt2/nbt2pzld.c b/src/spicelib/devices/nbjt2/nbt2pzld.c index b7c83cac9..7321b1db1 100644 --- a/src/spicelib/devices/nbjt2/nbt2pzld.c +++ b/src/spicelib/devices/nbjt2/nbt2pzld.c @@ -22,6 +22,8 @@ NBJT2pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) SPcomplex yIeVce, yIeVbe; SPcomplex yIcVce, yIcVbe; double startTime; + + IGNORE(ckt); for (; model != NULL; model = model->NBJT2nextModel) { FieldDepMobility = model->NBJT2models->MODLfieldDepMobility; diff --git a/src/spicelib/devices/ndev/ndevacld.c b/src/spicelib/devices/ndev/ndevacld.c index 2f973b3ee..584c1e302 100644 --- a/src/spicelib/devices/ndev/ndevacld.c +++ b/src/spicelib/devices/ndev/ndevacld.c @@ -19,6 +19,8 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group int NDEVacLoad(GENmodel *inModel, CKTcircuit *ckt) { + IGNORE(inModel); + IGNORE(ckt); return (OK); } diff --git a/src/spicelib/devices/ndev/ndevask.c b/src/spicelib/devices/ndev/ndevask.c index 6bb94dd6e..a99b1ed05 100644 --- a/src/spicelib/devices/ndev/ndevask.c +++ b/src/spicelib/devices/ndev/ndevask.c @@ -23,6 +23,12 @@ NDEVask( IFvalue *value, IFvalue *select ) { + IGNORE(ckt); + IGNORE(inInst); + IGNORE(which); + IGNORE(value); + IGNORE(select); + return (OK); /* NOTREACHED */ } diff --git a/src/spicelib/devices/ndev/ndevdump.c b/src/spicelib/devices/ndev/ndevdump.c index 614619a7d..a59d80322 100644 --- a/src/spicelib/devices/ndev/ndevdump.c +++ b/src/spicelib/devices/ndev/ndevdump.c @@ -26,6 +26,8 @@ NDEV_dump( GENmodel *inModel, CKTcircuit *ckt ) { + IGNORE(inModel); + IGNORE(ckt); } @@ -37,5 +39,8 @@ NDEV_acct( CKTcircuit *ckt, FILE *file ) { + IGNORE(inModel); + IGNORE(ckt); + IGNORE(file); } diff --git a/src/spicelib/devices/ndev/ndevload.c b/src/spicelib/devices/ndev/ndevload.c index 9d18eee49..cbb92d03c 100644 --- a/src/spicelib/devices/ndev/ndevload.c +++ b/src/spicelib/devices/ndev/ndevload.c @@ -78,6 +78,9 @@ int NDEVgetic(GENmodel *inModel, CKTcircuit *ckt) { NDEVmodel *model = (NDEVmodel*)inModel; NDEVinstance *here; + + IGNORE(ckt); + /* * grab initial conditions out of rhs array. User specified, so use * external nodes to get values diff --git a/src/spicelib/devices/ndev/ndevmdel.c b/src/spicelib/devices/ndev/ndevmdel.c index 08648cb56..15e7f00a3 100644 --- a/src/spicelib/devices/ndev/ndevmdel.c +++ b/src/spicelib/devices/ndev/ndevmdel.c @@ -14,6 +14,9 @@ NDEVmDelete( IFuid modname, GENmodel *kill ) { + IGNORE(inModel); + IGNORE(modname); + IGNORE(kill); return (OK); diff --git a/src/spicelib/devices/ndev/ndevparm.c b/src/spicelib/devices/ndev/ndevparm.c index 173514999..7b7b3a09f 100644 --- a/src/spicelib/devices/ndev/ndevparm.c +++ b/src/spicelib/devices/ndev/ndevparm.c @@ -17,6 +17,10 @@ NDEVparam( GENinstance *inInst, IFvalue *select ) { + IGNORE(value); + IGNORE(inInst); + IGNORE(select); + switch (param) { case NDEV_MOD_NDEV: /* no action , but this */ diff --git a/src/spicelib/devices/ndev/ndevpzld.c b/src/spicelib/devices/ndev/ndevpzld.c index ffc115ea4..6d3adf289 100644 --- a/src/spicelib/devices/ndev/ndevpzld.c +++ b/src/spicelib/devices/ndev/ndevpzld.c @@ -17,6 +17,9 @@ NDEVpzLoad( register CKTcircuit *ckt, SPcomplex *s ) { + IGNORE(inModel); + IGNORE(ckt); + IGNORE(s); return (OK); } diff --git a/src/spicelib/devices/ndev/ndevset.c b/src/spicelib/devices/ndev/ndevset.c index dd04f0027..0d6f629f3 100644 --- a/src/spicelib/devices/ndev/ndevset.c +++ b/src/spicelib/devices/ndev/ndevset.c @@ -33,6 +33,9 @@ int NDEVsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states int i,j; CKTnode *node; + IGNORE(ckt); + IGNORE(states); + /* loop through all the ndev models */ for( ; model != NULL; model = model->NDEVnextModel ) { diff --git a/src/spicelib/devices/ndev/ndevtemp.c b/src/spicelib/devices/ndev/ndevtemp.c index abb7ac724..e7b6f469a 100644 --- a/src/spicelib/devices/ndev/ndevtemp.c +++ b/src/spicelib/devices/ndev/ndevtemp.c @@ -22,6 +22,8 @@ NDEVtemp( * perform the temperature update to the diode */ { + IGNORE(inModel); + IGNORE(ckt); return (OK); } diff --git a/src/spicelib/devices/ndev/ndevtrun.c b/src/spicelib/devices/ndev/ndevtrun.c index 162f272b4..fec838204 100644 --- a/src/spicelib/devices/ndev/ndevtrun.c +++ b/src/spicelib/devices/ndev/ndevtrun.c @@ -18,6 +18,9 @@ NDEVtrunc( double *timeStep ) { + IGNORE(inModel); + IGNORE(ckt); + IGNORE(timeStep); return (OK); } diff --git a/src/spicelib/devices/numd/numdask.c b/src/spicelib/devices/numd/numdask.c index 3f774dd43..d00945ebd 100644 --- a/src/spicelib/devices/numd/numdask.c +++ b/src/spicelib/devices/numd/numdask.c @@ -24,6 +24,8 @@ NUMDask(CKTcircuit *ckt, GENinstance *inInst, int which, IFvalue *value, IFvalue { NUMDinstance *inst = (NUMDinstance *) inInst; + IGNORE(select); + switch (which) { case NUMD_AREA: value->rValue = inst->NUMDarea; diff --git a/src/spicelib/devices/numd/numddump.c b/src/spicelib/devices/numd/numddump.c index e3ada8dbd..ab435fd38 100644 --- a/src/spicelib/devices/numd/numddump.c +++ b/src/spicelib/devices/numd/numddump.c @@ -141,6 +141,8 @@ NUMDacct(GENmodel *inModel, CKTcircuit *ckt, FILE *file) register NUMDinstance *inst; OUTPcard *output; + IGNORE(ckt); + for (; model != NULL; model = model->NUMDnextModel) { output = model->NUMDoutputs; for (inst = model->NUMDinstances; inst != NULL; diff --git a/src/spicelib/devices/numd/numdmpar.c b/src/spicelib/devices/numd/numdmpar.c index b6ba5741f..9a6404a62 100644 --- a/src/spicelib/devices/numd/numdmpar.c +++ b/src/spicelib/devices/numd/numdmpar.c @@ -17,6 +17,9 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group int NUMDmParam(int param, IFvalue *value, GENmodel *inModel) { + IGNORE(value); + IGNORE(inModel); + switch (param) { case NUMD_MOD_NUMD: /* no action - already know it is a 1d-numerical diode, but this */ diff --git a/src/spicelib/devices/numd/numdparm.c b/src/spicelib/devices/numd/numdparm.c index 22c217fbf..ce04cc158 100644 --- a/src/spicelib/devices/numd/numdparm.c +++ b/src/spicelib/devices/numd/numdparm.c @@ -14,6 +14,9 @@ int NUMDparam(int param, IFvalue *value, GENinstance *inInst, IFvalue *select) { NUMDinstance *inst = (NUMDinstance *) inInst; + + IGNORE(select); + switch (param) { case NUMD_AREA: inst->NUMDarea = value->rValue; diff --git a/src/spicelib/devices/numd/numdpzld.c b/src/spicelib/devices/numd/numdpzld.c index d6ef159f1..87a540eed 100644 --- a/src/spicelib/devices/numd/numdpzld.c +++ b/src/spicelib/devices/numd/numdpzld.c @@ -23,6 +23,8 @@ NUMDpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) SPcomplex y; double startTime; + IGNORE(ckt); + /* loop through all the diode models */ for (; model != NULL; model = model->NUMDnextModel) { FieldDepMobility = model->NUMDmodels->MODLfieldDepMobility; diff --git a/src/spicelib/devices/numd2/nud2ask.c b/src/spicelib/devices/numd2/nud2ask.c index b7f94823d..5fcc16297 100644 --- a/src/spicelib/devices/numd2/nud2ask.c +++ b/src/spicelib/devices/numd2/nud2ask.c @@ -22,6 +22,9 @@ int NUMD2ask(CKTcircuit *ckt, GENinstance *inInst, int which, IFvalue *value, IFvalue *select) { NUMD2instance *inst = (NUMD2instance *) inInst; + + IGNORE(select); + switch (which) { case NUMD2_WIDTH: value->rValue = inst->NUMD2width; diff --git a/src/spicelib/devices/numd2/nud2dump.c b/src/spicelib/devices/numd2/nud2dump.c index 66cdf3c12..32ad03934 100644 --- a/src/spicelib/devices/numd2/nud2dump.c +++ b/src/spicelib/devices/numd2/nud2dump.c @@ -142,6 +142,8 @@ NUMD2acct(GENmodel *inModel, CKTcircuit *ckt, FILE *file) register NUMD2instance *inst; OUTPcard *output; + IGNORE(ckt); + for (; model != NULL; model = model->NUMD2nextModel) { output = model->NUMD2outputs; for (inst = model->NUMD2instances; inst != NULL; diff --git a/src/spicelib/devices/numd2/nud2mpar.c b/src/spicelib/devices/numd2/nud2mpar.c index b3f275067..e0ab3c939 100644 --- a/src/spicelib/devices/numd2/nud2mpar.c +++ b/src/spicelib/devices/numd2/nud2mpar.c @@ -17,6 +17,9 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group int NUMD2mParam(int param, IFvalue *value, GENmodel *inModel) { + IGNORE(value); + IGNORE(inModel); + switch (param) { case NUMD2_MOD_NUMD: /* no action - already know it is a 2d-numerical diode, but this */ diff --git a/src/spicelib/devices/numd2/nud2parm.c b/src/spicelib/devices/numd2/nud2parm.c index c623f3771..bc7daaf6c 100644 --- a/src/spicelib/devices/numd2/nud2parm.c +++ b/src/spicelib/devices/numd2/nud2parm.c @@ -14,6 +14,9 @@ int NUMD2param(int param, IFvalue *value, GENinstance *inInst, IFvalue *select) { NUMD2instance *inst = (NUMD2instance *) inInst; + + IGNORE(select); + switch (param) { case NUMD2_WIDTH: inst->NUMD2width = value->rValue; diff --git a/src/spicelib/devices/numd2/nud2pzld.c b/src/spicelib/devices/numd2/nud2pzld.c index ef4bfdd8e..44d373a55 100644 --- a/src/spicelib/devices/numd2/nud2pzld.c +++ b/src/spicelib/devices/numd2/nud2pzld.c @@ -22,6 +22,8 @@ NUMD2pzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) SPcomplex y; double startTime; + IGNORE(ckt); + /* loop through all the diode models */ for (; model != NULL; model = model->NUMD2nextModel) { FieldDepMobility = model->NUMD2models->MODLfieldDepMobility; diff --git a/src/spicelib/devices/numos/nummask.c b/src/spicelib/devices/numos/nummask.c index e9d25ca38..c340b3579 100644 --- a/src/spicelib/devices/numos/nummask.c +++ b/src/spicelib/devices/numos/nummask.c @@ -20,6 +20,9 @@ int NUMOSask(CKTcircuit *ckt, GENinstance *inInst, int which, IFvalue *value, IFvalue *select) { NUMOSinstance *inst = (NUMOSinstance *) inInst; + + IGNORE(select); + switch (which) { case NUMOS_AREA: value->rValue = inst->NUMOSarea; diff --git a/src/spicelib/devices/numos/nummdump.c b/src/spicelib/devices/numos/nummdump.c index a0c8df532..6e3d152f2 100644 --- a/src/spicelib/devices/numos/nummdump.c +++ b/src/spicelib/devices/numos/nummdump.c @@ -156,6 +156,8 @@ NUMOSacct(GENmodel *inModel, CKTcircuit *ckt, FILE *file) register NUMOSinstance *inst; OUTPcard *output; + IGNORE(ckt); + for (; model != NULL; model = model->NUMOSnextModel) { output = model->NUMOSoutputs; for (inst = model->NUMOSinstances; inst != NULL; diff --git a/src/spicelib/devices/numos/nummmpar.c b/src/spicelib/devices/numos/nummmpar.c index 6be6d35e1..1435bc150 100644 --- a/src/spicelib/devices/numos/nummmpar.c +++ b/src/spicelib/devices/numos/nummmpar.c @@ -17,6 +17,9 @@ Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group int NUMOSmParam(int param, IFvalue *value, GENmodel *inModel) { + IGNORE(value); + IGNORE(inModel); + switch (param) { case NUMOS_MOD_NUMOS: /* no action - already know it is a 2d-numerical MOS, but this */ diff --git a/src/spicelib/devices/numos/nummparm.c b/src/spicelib/devices/numos/nummparm.c index 9ea47bbaa..1d81cca66 100644 --- a/src/spicelib/devices/numos/nummparm.c +++ b/src/spicelib/devices/numos/nummparm.c @@ -18,6 +18,9 @@ int NUMOSparam(int param, IFvalue *value, GENinstance *inInst, IFvalue *select) { register NUMOSinstance *inst = (NUMOSinstance *) inInst; + + IGNORE(select); + switch (param) { case NUMOS_AREA: inst->NUMOSarea = value->rValue; diff --git a/src/spicelib/devices/numos/nummpzld.c b/src/spicelib/devices/numos/nummpzld.c index b5e9380a8..9e149189f 100644 --- a/src/spicelib/devices/numos/nummpzld.c +++ b/src/spicelib/devices/numos/nummpzld.c @@ -22,6 +22,8 @@ NUMOSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) struct mosAdmittances yAc; double startTime; + IGNORE(ckt); + for (; model != NULL; model = model->NUMOSnextModel) { FieldDepMobility = model->NUMOSmodels->MODLfieldDepMobility; TransDepMobility = model->NUMOSmodels->MODLtransDepMobility; diff --git a/src/spicelib/devices/res/resload.c b/src/spicelib/devices/res/resload.c index 0f8efd573..2d816234a 100644 --- a/src/spicelib/devices/res/resload.c +++ b/src/spicelib/devices/res/resload.c @@ -64,6 +64,8 @@ RESacload(GENmodel *inModel, CKTcircuit *ckt) double difference; double factor; + IGNORE(ckt); + /* loop through all the resistor models */ for( ; model != NULL; model = model->RESnextModel ) { RESinstance *here; diff --git a/src/spicelib/devices/res/resmask.c b/src/spicelib/devices/res/resmask.c index baf3d33d1..1c5ffd7ab 100644 --- a/src/spicelib/devices/res/resmask.c +++ b/src/spicelib/devices/res/resmask.c @@ -21,6 +21,8 @@ RESmodAsk(CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value) RESmodel *model = (RESmodel *)inModel; + IGNORE(ckt); + switch(which) { case RES_MOD_TNOM: value->rValue = model->REStnom-CONSTCtoK; diff --git a/src/spicelib/devices/res/resparam.c b/src/spicelib/devices/res/resparam.c index 8e6ce4263..d08bafdbd 100644 --- a/src/spicelib/devices/res/resparam.c +++ b/src/spicelib/devices/res/resparam.c @@ -15,6 +15,9 @@ int RESparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { RESinstance *here = (RESinstance *)inst; + + IGNORE(select); + switch(param) { case RES_TEMP: here->REStemp = value->rValue + CONSTCtoK; diff --git a/src/spicelib/devices/res/respzld.c b/src/spicelib/devices/res/respzld.c index 618479de7..82266a929 100644 --- a/src/spicelib/devices/res/respzld.c +++ b/src/spicelib/devices/res/respzld.c @@ -23,6 +23,9 @@ RESpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) RESinstance *here; double m; + IGNORE(s); + IGNORE(ckt); + /* loop through all the resistor models */ for( ; model != NULL; model = model->RESnextModel ) { diff --git a/src/spicelib/devices/res/ressetup.c b/src/spicelib/devices/res/ressetup.c index 053df89ee..3df8217b4 100644 --- a/src/spicelib/devices/res/ressetup.c +++ b/src/spicelib/devices/res/ressetup.c @@ -19,6 +19,8 @@ RESsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit*ckt, int *state) RESmodel *model = (RESmodel *)inModel; RESinstance *here; + IGNORE(state); + IGNORE(ckt); /* loop through all the resistor models */ for( ; model != NULL; model = model->RESnextModel ) { diff --git a/src/spicelib/devices/soi3/soi3ask.c b/src/spicelib/devices/soi3/soi3ask.c index 807814460..e3e1fb266 100644 --- a/src/spicelib/devices/soi3/soi3ask.c +++ b/src/spicelib/devices/soi3/soi3ask.c @@ -37,6 +37,8 @@ SOI3ask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, { SOI3instance *here = (SOI3instance*)inst; + IGNORE(select); + /* The line below belong to the parts of the case statement that are also * commented out */ /* double vr; */ diff --git a/src/spicelib/devices/soi3/soi3cap.c b/src/spicelib/devices/soi3/soi3cap.c index d5a021489..87cbb2f23 100644 --- a/src/spicelib/devices/soi3/soi3cap.c +++ b/src/spicelib/devices/soi3/soi3cap.c @@ -72,6 +72,10 @@ double ccgf,ccd,ccs,ccdeltaT,ccgb; double vg,vgacc,Egacc,tmpacc,Qacc; double csf; +IGNORE(gammaB); +IGNORE(Phiplusvsb); +IGNORE(vgB); + /****** Part 2 - extract variables passed from soi3load(), which ******/ /****** have been passed to soi3cap() in *arg arrays. ******/ diff --git a/src/spicelib/devices/soi3/soi3mask.c b/src/spicelib/devices/soi3/soi3mask.c index 5287c7a90..ee3185311 100644 --- a/src/spicelib/devices/soi3/soi3mask.c +++ b/src/spicelib/devices/soi3/soi3mask.c @@ -35,6 +35,9 @@ int SOI3mAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { SOI3model *model = (SOI3model *)inst; + + IGNORE(ckt); + switch(which) { case SOI3_MOD_VTO: value->rValue = model->SOI3vt0; diff --git a/src/spicelib/devices/soi3/soi3par.c b/src/spicelib/devices/soi3/soi3par.c index db7183070..86aba9332 100644 --- a/src/spicelib/devices/soi3/soi3par.c +++ b/src/spicelib/devices/soi3/soi3par.c @@ -33,6 +33,9 @@ int SOI3param(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { SOI3instance *here = (SOI3instance *)inst; + + IGNORE(select); + switch(param) { case SOI3_L: here->SOI3l = value->rValue; diff --git a/src/spicelib/devices/sw/swask.c b/src/spicelib/devices/sw/swask.c index 1a836abec..f81d51138 100644 --- a/src/spicelib/devices/sw/swask.c +++ b/src/spicelib/devices/sw/swask.c @@ -26,6 +26,8 @@ SWask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *se SWinstance *here = (SWinstance *)inst; static char *msg = "Current and power not available in ac analysis"; + IGNORE(select); + switch(which) { case SW_POS_NODE: value->iValue = here->SWposNode; diff --git a/src/spicelib/devices/sw/swmask.c b/src/spicelib/devices/sw/swmask.c index afef2c69d..250ebd122 100644 --- a/src/spicelib/devices/sw/swmask.c +++ b/src/spicelib/devices/sw/swmask.c @@ -24,6 +24,9 @@ int SWmAsk(CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value) { SWmodel *model = (SWmodel *)inModel; + + IGNORE(ckt); + switch(which) { case SW_MOD_RON: value->rValue = model->SWonResistance; diff --git a/src/spicelib/devices/sw/swparam.c b/src/spicelib/devices/sw/swparam.c index f3d4f69db..f4b256e03 100644 --- a/src/spicelib/devices/sw/swparam.c +++ b/src/spicelib/devices/sw/swparam.c @@ -17,6 +17,9 @@ int SWparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { SWinstance *here = (SWinstance *)inst; + + IGNORE(select); + switch(param) { case SW_IC_ON: if(value->iValue) { diff --git a/src/spicelib/devices/sw/swpzload.c b/src/spicelib/devices/sw/swpzload.c index 8b2aec2d6..5b4b63aed 100644 --- a/src/spicelib/devices/sw/swpzload.c +++ b/src/spicelib/devices/sw/swpzload.c @@ -26,6 +26,8 @@ SWpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) double g_now; int current_state; + IGNORE(s); + /* loop through all the switch models */ for( ; model != NULL; model = model->SWnextModel ) { diff --git a/src/spicelib/devices/tra/traask.c b/src/spicelib/devices/tra/traask.c index 84fa89a32..050fa6e22 100644 --- a/src/spicelib/devices/tra/traask.c +++ b/src/spicelib/devices/tra/traask.c @@ -27,6 +27,9 @@ TRAask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *s int temp; double *v, *w; + IGNORE(select); + IGNORE(ckt); + switch(which) { case TRA_POS_NODE1: value->iValue = here->TRAposNode1; diff --git a/src/spicelib/devices/tra/traparam.c b/src/spicelib/devices/tra/traparam.c index af11358ee..168c78731 100644 --- a/src/spicelib/devices/tra/traparam.c +++ b/src/spicelib/devices/tra/traparam.c @@ -17,6 +17,9 @@ int TRAparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { TRAinstance *here = (TRAinstance *)inst; + + IGNORE(select); + switch(param) { case TRA_RELTOL: here->TRAreltol = value->rValue; diff --git a/src/spicelib/devices/tra/trasetup.c b/src/spicelib/devices/tra/trasetup.c index a4384354d..e32ed1619 100644 --- a/src/spicelib/devices/tra/trasetup.c +++ b/src/spicelib/devices/tra/trasetup.c @@ -25,6 +25,8 @@ TRAsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *state) int error; CKTnode *tmp; + IGNORE(state); + /* loop through all the transmission line models */ for( ; model != NULL; model = model->TRAnextModel ) { diff --git a/src/spicelib/devices/tra/tratemp.c b/src/spicelib/devices/tra/tratemp.c index 051e24c1b..cf79d1371 100644 --- a/src/spicelib/devices/tra/tratemp.c +++ b/src/spicelib/devices/tra/tratemp.c @@ -23,6 +23,8 @@ TRAtemp(GENmodel *inModel, CKTcircuit *ckt) TRAmodel *model = (TRAmodel *)inModel; TRAinstance *here; + IGNORE(ckt); + /* loop through all the transmission line models */ for( ; model != NULL; model = model->TRAnextModel ) { diff --git a/src/spicelib/devices/txl/txlask.c b/src/spicelib/devices/txl/txlask.c index 9b3efc0e5..a8af5caea 100644 --- a/src/spicelib/devices/txl/txlask.c +++ b/src/spicelib/devices/txl/txlask.c @@ -19,6 +19,10 @@ int TXLask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *select) { TXLinstance *fast = (TXLinstance *)inst; + + IGNORE(select); + IGNORE(ckt); + switch(which) { case TXL_OUT_NODE: value->iValue = fast->TXLnegNode; diff --git a/src/spicelib/devices/txl/txlmask.c b/src/spicelib/devices/txl/txlmask.c index 427f64633..e35296079 100644 --- a/src/spicelib/devices/txl/txlmask.c +++ b/src/spicelib/devices/txl/txlmask.c @@ -21,6 +21,9 @@ int TXLmodAsk(CKTcircuit *ckt, GENmodel *inModel, int which, IFvalue *value) { TXLmodel *model = (TXLmodel *)inModel; + + IGNORE(ckt); + switch(which) { case TXL_R: value->rValue = model->R; diff --git a/src/spicelib/devices/txl/txlparam.c b/src/spicelib/devices/txl/txlparam.c index de8869ee2..9d254c154 100644 --- a/src/spicelib/devices/txl/txlparam.c +++ b/src/spicelib/devices/txl/txlparam.c @@ -17,6 +17,9 @@ int TXLparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { TXLinstance *here = (TXLinstance *)inst; + + IGNORE(select); + switch(param) { case TXL_IN_NODE: here->TXLposNode = value->iValue; diff --git a/src/spicelib/devices/txl/txlsetup.c b/src/spicelib/devices/txl/txlsetup.c index ec5bac4a2..c1fbf4841 100644 --- a/src/spicelib/devices/txl/txlsetup.c +++ b/src/spicelib/devices/txl/txlsetup.c @@ -82,6 +82,8 @@ TXLsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit*ckt, int *state) CKTnode *tmp; int error; + IGNORE(state); + /* loop through all the models */ for( ; model != NULL; model = model->TXLnextModel ) { @@ -212,6 +214,8 @@ ReadTxL(TXLinstance *tx, CKTcircuit *ckt) ERLINE *er; double LL = 1e-12; + IGNORE(ckt); + p = tx->in_node_name; n = tx->out_node_name; @@ -583,6 +587,8 @@ root3(double a1, double a2, double a3, double x) static int div3(double a1, double a2, double a3, double x, double *p1, double *p2) { + IGNORE(a2); + *p1 = a1 + x; *p2 = - a3 / x; diff --git a/src/spicelib/devices/urc/urcask.c b/src/spicelib/devices/urc/urcask.c index 4ea479ca8..af2350fe2 100644 --- a/src/spicelib/devices/urc/urcask.c +++ b/src/spicelib/devices/urc/urcask.c @@ -25,6 +25,10 @@ int URCask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue *select) { URCinstance *here = (URCinstance *)inst; + + IGNORE(select); + IGNORE(ckt); + switch(which) { case URC_POS_NODE: value->iValue = here->URCposNode; diff --git a/src/spicelib/devices/urc/urcmask.c b/src/spicelib/devices/urc/urcmask.c index 9fc4f2352..0e06782d9 100644 --- a/src/spicelib/devices/urc/urcmask.c +++ b/src/spicelib/devices/urc/urcmask.c @@ -24,6 +24,9 @@ int URCmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value) { URCmodel *here = (URCmodel *)inst; + + IGNORE(ckt); + switch(which) { case URC_MOD_K: value->rValue = here->URCk; diff --git a/src/spicelib/devices/urc/urcparam.c b/src/spicelib/devices/urc/urcparam.c index 96a0b8445..a78ac0e7b 100644 --- a/src/spicelib/devices/urc/urcparam.c +++ b/src/spicelib/devices/urc/urcparam.c @@ -17,6 +17,9 @@ int URCparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { URCinstance *here = (URCinstance *)inst; + + IGNORE(select); + switch(param) { case URC_LEN: here->URClength = value->rValue; diff --git a/src/spicelib/devices/urc/urcsetup.c b/src/spicelib/devices/urc/urcsetup.c index ae49c0242..053ac8dad 100644 --- a/src/spicelib/devices/urc/urcsetup.c +++ b/src/spicelib/devices/urc/urcsetup.c @@ -54,6 +54,9 @@ URCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *state) IFuid capUid; IFuid eltUid; + IGNORE(state); + IGNORE(matrix); + rtype = CKTtypelook("Resistor"); ctype = CKTtypelook("Capacitor"); dtype = CKTtypelook("Diode"); diff --git a/src/spicelib/devices/vbic/vbicmask.c b/src/spicelib/devices/vbic/vbicmask.c index df6533934..d738b89d0 100644 --- a/src/spicelib/devices/vbic/vbicmask.c +++ b/src/spicelib/devices/vbic/vbicmask.c @@ -21,6 +21,8 @@ VBICmAsk(CKTcircuit *ckt, GENmodel *instPtr, int which, IFvalue *value) { VBICmodel *here = (VBICmodel*)instPtr; + IGNORE(ckt); + switch(which) { case VBIC_MOD_TNOM: value->rValue = here->VBICtnom; diff --git a/src/spicelib/devices/vbic/vbicparam.c b/src/spicelib/devices/vbic/vbicparam.c index 74437527a..7037d1843 100644 --- a/src/spicelib/devices/vbic/vbicparam.c +++ b/src/spicelib/devices/vbic/vbicparam.c @@ -24,6 +24,8 @@ VBICparam(int param, IFvalue *value, GENinstance *instPtr, IFvalue *select) { VBICinstance *here = (VBICinstance*)instPtr; + IGNORE(select); + switch(param) { case VBIC_AREA: here->VBICarea = value->rValue; diff --git a/src/spicelib/devices/vccs/vccsload.c b/src/spicelib/devices/vccs/vccsload.c index de6b6f103..c9aa010ea 100644 --- a/src/spicelib/devices/vccs/vccsload.c +++ b/src/spicelib/devices/vccs/vccsload.c @@ -23,6 +23,8 @@ VCCSload(GENmodel *inModel, CKTcircuit *ckt) VCCSmodel *model = (VCCSmodel *)inModel; VCCSinstance *here; + IGNORE(ckt); + /* loop through all the source models */ for( ; model != NULL; model = model->VCCSnextModel ) { diff --git a/src/spicelib/devices/vccs/vccspar.c b/src/spicelib/devices/vccs/vccspar.c index 72c27479a..ad5e23445 100644 --- a/src/spicelib/devices/vccs/vccspar.c +++ b/src/spicelib/devices/vccs/vccspar.c @@ -18,6 +18,9 @@ int VCCSparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { VCCSinstance *here = (VCCSinstance *)inst; + + IGNORE(select); + switch(param) { case VCCS_TRANS: here->VCCScoeff = value->rValue; diff --git a/src/spicelib/devices/vccs/vccspzld.c b/src/spicelib/devices/vccs/vccspzld.c index bdb53bc00..a7f1342c8 100644 --- a/src/spicelib/devices/vccs/vccspzld.c +++ b/src/spicelib/devices/vccs/vccspzld.c @@ -24,6 +24,9 @@ VCCSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) VCCSmodel *model = (VCCSmodel *)inModel; VCCSinstance *here; + IGNORE(s); + IGNORE(ckt); + /* loop through all the source models */ for( ; model != NULL; model = model->VCCSnextModel ) { diff --git a/src/spicelib/devices/vccs/vccsset.c b/src/spicelib/devices/vccs/vccsset.c index 917d83aa5..5db876d82 100644 --- a/src/spicelib/devices/vccs/vccsset.c +++ b/src/spicelib/devices/vccs/vccsset.c @@ -25,6 +25,9 @@ VCCSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states) VCCSmodel *model = (VCCSmodel *)inModel; VCCSinstance *here; + IGNORE(states); + IGNORE(ckt); + /* loop through all the current source models */ for( ; model != NULL; model = model->VCCSnextModel ) { diff --git a/src/spicelib/devices/vcvs/vcvsload.c b/src/spicelib/devices/vcvs/vcvsload.c index e6ad48937..3a924d269 100644 --- a/src/spicelib/devices/vcvs/vcvsload.c +++ b/src/spicelib/devices/vcvs/vcvsload.c @@ -22,6 +22,8 @@ VCVSload(GENmodel *inModel, CKTcircuit *ckt) VCVSmodel *model = (VCVSmodel *)inModel; VCVSinstance *here; + IGNORE(ckt); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->VCVSnextModel ) { diff --git a/src/spicelib/devices/vcvs/vcvspar.c b/src/spicelib/devices/vcvs/vcvspar.c index f8a486bb4..b3314a17f 100644 --- a/src/spicelib/devices/vcvs/vcvspar.c +++ b/src/spicelib/devices/vcvs/vcvspar.c @@ -17,6 +17,9 @@ int VCVSparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { VCVSinstance *here = (VCVSinstance *)inst; + + IGNORE(select); + switch(param) { case VCVS_GAIN: here->VCVScoeff = value->rValue; diff --git a/src/spicelib/devices/vcvs/vcvspzld.c b/src/spicelib/devices/vcvs/vcvspzld.c index 51e572fcf..b98448302 100644 --- a/src/spicelib/devices/vcvs/vcvspzld.c +++ b/src/spicelib/devices/vcvs/vcvspzld.c @@ -23,6 +23,9 @@ VCVSpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) VCVSmodel *model = (VCVSmodel *)inModel; VCVSinstance *here; + IGNORE(s); + IGNORE(ckt); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->VCVSnextModel ) { diff --git a/src/spicelib/devices/vcvs/vcvsset.c b/src/spicelib/devices/vcvs/vcvsset.c index c7c97c548..f6fd544be 100644 --- a/src/spicelib/devices/vcvs/vcvsset.c +++ b/src/spicelib/devices/vcvs/vcvsset.c @@ -23,6 +23,8 @@ VCVSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *states) int error; CKTnode *tmp; + IGNORE(states); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->VCVSnextModel ) { diff --git a/src/spicelib/devices/vsrc/vsrcask.c b/src/spicelib/devices/vsrc/vsrcask.c index ce51950c7..d61d95001 100644 --- a/src/spicelib/devices/vsrc/vsrcask.c +++ b/src/spicelib/devices/vsrc/vsrcask.c @@ -28,6 +28,8 @@ VSRCask(CKTcircuit *ckt, GENinstance *inst, int which, IFvalue *value, IFvalue * static char *msg = "Current and power not available in ac analysis"; double *v, *w; + IGNORE(select); + switch(which) { case VSRC_DC: value->rValue = here->VSRCdcValue; diff --git a/src/spicelib/devices/vsrc/vsrcpar.c b/src/spicelib/devices/vsrc/vsrcpar.c index 304b00836..8219a1f9c 100644 --- a/src/spicelib/devices/vsrc/vsrcpar.c +++ b/src/spicelib/devices/vsrc/vsrcpar.c @@ -19,6 +19,9 @@ VSRCparam(int param, IFvalue *value, GENinstance *inst, IFvalue *select) { int i; VSRCinstance *here = (VSRCinstance *)inst; + + IGNORE(select); + switch(param) { case VSRC_DC: here->VSRCdcValue = value->rValue; diff --git a/src/spicelib/devices/vsrc/vsrcpzld.c b/src/spicelib/devices/vsrc/vsrcpzld.c index 000f549d3..1953ffcd2 100644 --- a/src/spicelib/devices/vsrc/vsrcpzld.c +++ b/src/spicelib/devices/vsrc/vsrcpzld.c @@ -17,6 +17,9 @@ VSRCpzLoad(GENmodel *inModel, CKTcircuit *ckt, SPcomplex *s) VSRCmodel *model = (VSRCmodel *)inModel; VSRCinstance *here; + IGNORE(s); + IGNORE(ckt); + for( ; model != NULL; model = model->VSRCnextModel ) { /* loop through all the instances of the model */ diff --git a/src/spicelib/devices/vsrc/vsrcpzs.c b/src/spicelib/devices/vsrc/vsrcpzs.c index 01ea2833d..29ff7a121 100644 --- a/src/spicelib/devices/vsrc/vsrcpzs.c +++ b/src/spicelib/devices/vsrc/vsrcpzs.c @@ -21,6 +21,8 @@ VSRCpzSetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, CKTnode *tmp; int error; + IGNORE(state); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->VSRCnextModel ) { diff --git a/src/spicelib/devices/vsrc/vsrcset.c b/src/spicelib/devices/vsrc/vsrcset.c index a4128d140..0d5c1f5ee 100644 --- a/src/spicelib/devices/vsrc/vsrcset.c +++ b/src/spicelib/devices/vsrc/vsrcset.c @@ -22,6 +22,8 @@ VSRCsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt, int *state) CKTnode *tmp; int error; + IGNORE(state); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->VSRCnextModel ) { diff --git a/src/spicelib/devices/vsrc/vsrctemp.c b/src/spicelib/devices/vsrc/vsrctemp.c index 2d48b76f7..58712f645 100644 --- a/src/spicelib/devices/vsrc/vsrctemp.c +++ b/src/spicelib/devices/vsrc/vsrctemp.c @@ -20,6 +20,8 @@ VSRCtemp(GENmodel *inModel, CKTcircuit *ckt) VSRCinstance *here; double radians; + IGNORE(ckt); + /* loop through all the voltage source models */ for( ; model != NULL; model = model->VSRCnextModel ) { diff --git a/src/spicelib/parser/ifnewuid.c b/src/spicelib/parser/ifnewuid.c index b74135ca6..ba305efdf 100644 --- a/src/spicelib/parser/ifnewuid.c +++ b/src/spicelib/parser/ifnewuid.c @@ -83,6 +83,8 @@ int IFdelUid(CKTcircuit *ckt, IFuid uid, int type) { int error; + IGNORE(ckt); + switch (type) { case UID_ANALYSIS: case UID_TASK: diff --git a/src/spicelib/parser/inp2dot.c b/src/spicelib/parser/inp2dot.c index cae888e7d..def58a5ef 100644 --- a/src/spicelib/parser/inp2dot.c +++ b/src/spicelib/parser/inp2dot.c @@ -128,6 +128,10 @@ dot_op(char *line, CKTcircuit *ckt, INPtables *tab, card *current, int i; /* generic loop variable */ int error; /* error code temporary */ + IGNORE(line); + IGNORE(tab); + IGNORE(gnode); + /* .op */ which = -1; for (i = 0; i < ft_sim->numAnalyses; i++) { @@ -156,6 +160,8 @@ dot_disto(char *line, CKTcircuit *ckt, INPtables *tab, card *current, IFvalue *parm; /* a pointer to a value struct for function returns */ char *steptype; /* ac analysis, type of stepping function */ + IGNORE(gnode); + /* .disto {DEC OCT LIN} NP FSTART FSTOP */ which = -1; for (i = 0; i < ft_sim->numAnalyses; i++) { @@ -197,6 +203,8 @@ dot_ac(char *line, CKTcircuit *ckt, INPtables *tab, card *current, int i; /* generic loop variable */ char *steptype; /* ac analysis, type of stepping function */ + IGNORE(gnode); + /* .ac {DEC OCT LIN} NP FSTART FSTOP */ which = -1; for (i = 0; i < ft_sim->numAnalyses; i++) { @@ -234,6 +242,8 @@ dot_pz(char *line, CKTcircuit *ckt, INPtables *tab, card *current, int i; /* generic loop variable */ char *steptype; /* ac analysis, type of stepping function */ + IGNORE(gnode); + /* .pz nodeI nodeG nodeJ nodeK {V I} {POL ZER PZ} */ which = -1; for (i = 0; i < ft_sim->numAnalyses; i++) { @@ -276,6 +286,8 @@ dot_dc(char *line, CKTcircuit *ckt, INPtables *tab, card *current, int which; /* which analysis we are performing */ int i; /* generic loop variable */ + IGNORE(gnode); + /* .dc SRC1NAME Vstart1 Vstop1 Vinc1 [SRC2NAME Vstart2 */ /* Vstop2 Vinc2 */ which = -1; @@ -400,6 +412,8 @@ dot_tran(char *line, CKTcircuit *ckt, INPtables *tab, card *current, double dtemp; /* random double precision temporary */ char *word; /* something to stick a word of input into */ + IGNORE(gnode); + /* .tran Tstep Tstop > */ which = -1; for (i = 0; i < ft_sim->numAnalyses; i++) { @@ -618,6 +632,10 @@ static int dot_options(char *line, CKTcircuit *ckt, INPtables *tab, card *current, TSKtask *task, CKTnode *gnode, JOB *foo) { + IGNORE(line); + IGNORE(gnode); + IGNORE(foo); + /* .option - specify program options - rather complicated */ /* use a subroutine to handle all of them to keep this */ /* subroutine managable. */ diff --git a/src/spicelib/parser/inpdomod.c b/src/spicelib/parser/inpdomod.c index 8850806fd..c67e25e3e 100644 --- a/src/spicelib/parser/inpdomod.c +++ b/src/spicelib/parser/inpdomod.c @@ -28,6 +28,8 @@ char *INPdomodel(CKTcircuit *ckt, card * image, INPtables * tab) char *val; double rval=0, lval=0; + IGNORE(ckt); + line = image->line; #ifdef TRACE diff --git a/src/spicelib/parser/inppas3.c b/src/spicelib/parser/inppas3.c index 877edd106..de033d06c 100644 --- a/src/spicelib/parser/inppas3.c +++ b/src/spicelib/parser/inppas3.c @@ -38,6 +38,8 @@ INPpas3(CKTcircuit *ckt, card *data, INPtables *tab, TSKtask *task, int which; /* which analysis we are performing */ CKTnode *node1; /* the first node's node pointer */ + IGNORE(task); + #ifdef TRACE /* SDB debug statement */ printf("In INPpas3 . . . \n"); diff --git a/src/spicelib/parser/inpsymt.c b/src/spicelib/parser/inpsymt.c index 6bb0261fc..b6e8f4245 100644 --- a/src/spicelib/parser/inpsymt.c +++ b/src/spicelib/parser/inpsymt.c @@ -81,6 +81,8 @@ int INPmkTerm(CKTcircuit *ckt, char **token, INPtables * tab, CKTnode **node) int key; struct INPnTab *t; + IGNORE(ckt); + key = hash(*token, tab->INPtermsize); for (t = tab->INPtermsymtab[key]; t; t = t->t_next) { if (!strcmp(*token, t->t_ent)) { diff --git a/src/tclspice.c b/src/tclspice.c index a42592214..fec565652 100755 --- a/src/tclspice.c +++ b/src/tclspice.c @@ -214,6 +214,8 @@ static int blt_vnum; static int spice_header TCL_CMDPROCARGS(clientData,interp,argc,argv){ char buf[256]; char *date, *name, *title; + IGNORE(clientData); + IGNORE(argv); if (argc != 1) { Tcl_SetResult(interp, "Wrong # args. spice::spice_header",TCL_STATIC); return TCL_ERROR; @@ -233,6 +235,7 @@ static int spice_data TCL_CMDPROCARGS(clientData,interp,argc,argv) { char buf[256]; int i, type; char *name; + IGNORE(clientData); if (argc > 2) { Tcl_SetResult(interp, "Wrong # args. spice::spice_data ?plot?", TCL_STATIC); @@ -374,6 +377,7 @@ static int lastVector TCL_CMDPROCARGS(clientData,interp,argc,argv) { char *blt; int i; double *V; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::lastVector vecName",TCL_STATIC); return TCL_ERROR; @@ -415,6 +419,7 @@ static int get_value TCL_CMDPROCARGS(clientData,interp,argc,argv) { char *var; int i, vindex, j; double val=0; + IGNORE(clientData); if(argc != 3) { Tcl_SetResult(interp, "Wrong # args. spice::get_value spice_variable index", @@ -466,6 +471,7 @@ static int vectoblt TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct dvec *var_dvec; double *realData, *compData; int compIndex; //index to loop inside the vectors' data + IGNORE(clientData); if (argc < 3 || argc > 4){ Tcl_SetResult(interp, "Wrong # args. spice::vectoblt spice_variable real_bltVector [imag_bltVector]",TCL_STATIC); @@ -544,6 +550,7 @@ static int spicetoblt TCL_CMDPROCARGS(clientData,interp,argc,argv) { char *blt, *var; int start=0,end=-1,len; + IGNORE(clientData); if (argc < 3 || argc > 5) { Tcl_SetResult(interp, "Wrong # args. spice::spicetoblt spice_variable vecName ?start? ?end?",TCL_STATIC); return TCL_ERROR; @@ -659,6 +666,7 @@ static int _thread_stop(){ } void sighandler_tclspice(int num) { + IGNORE(num); if(fl_running) _thread_stop(); return; } @@ -746,6 +754,7 @@ static int _run(int argc,char **argv){ static int _tcl_dispatch TCL_CMDPROCARGS(clientData,interp,argc,argv) { int i; + IGNORE(clientData); save_interp(); /* Looks backwards through the first command and strips the :: part */ for(i = strlen(argv[0])-1;i > 0;i--) @@ -757,6 +766,7 @@ static int _tcl_dispatch TCL_CMDPROCARGS(clientData,interp,argc,argv) { /* Runs the spice command given in spice */ static int _spice_dispatch TCL_CMDPROCARGS(clientData,interp,argc,argv) { + IGNORE(clientData); save_interp(); if(argc == 1) return TCL_OK; return _run(argc-1,(char **)&argv[1]); @@ -765,6 +775,9 @@ static int _spice_dispatch TCL_CMDPROCARGS(clientData,interp,argc,argv) { #ifdef THREADS /*Checks if spice is runnuing in the background */ static int running TCL_CMDPROCARGS(clientData,interp,argc,argv) { + IGNORE(clientData); + IGNORE(argc); + IGNORE(argv); Tcl_SetObjResult(interp,Tcl_NewIntObj((long) (fl_running && !fl_exited))); return TCL_OK; } @@ -780,6 +793,7 @@ static int plot_variables TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct plot *pl; int plot; struct dvec *v; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_variables plot",TCL_STATIC); @@ -807,6 +821,7 @@ static int plot_variablesInfo TCL_CMDPROCARGS(clientData,interp,argc,argv){ char buf[256]; char *name; int length; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_variablesInfo plot",TCL_STATIC); @@ -838,6 +853,7 @@ static int plot_get_value TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct dvec *v; char *name; int plot,index; + IGNORE(clientData); if (argc != 4) { Tcl_SetResult(interp, "Wrong # args. spice::plot_get_value name plot index",TCL_STATIC); @@ -872,6 +888,7 @@ static int plot_datapoints TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct plot *pl; struct dvec *v; int plot; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_datapoints plot",TCL_STATIC); @@ -896,6 +913,7 @@ static int plot_datapoints TCL_CMDPROCARGS(clientData,interp,argc,argv) { static int plot_title TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct plot *pl; int plot; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_title plot",TCL_STATIC); return TCL_ERROR; @@ -915,6 +933,7 @@ static int plot_date TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct plot *pl; int plot; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_date plot",TCL_STATIC); return TCL_ERROR; @@ -933,6 +952,7 @@ static int plot_date TCL_CMDPROCARGS(clientData,interp,argc,argv) { static int plot_name TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct plot *pl; int plot; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_name plot",TCL_STATIC); return TCL_ERROR; @@ -951,6 +971,7 @@ static int plot_name TCL_CMDPROCARGS(clientData,interp,argc,argv) { static int plot_typename TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct plot *pl; int plot; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_typename plot",TCL_STATIC); return TCL_ERROR; @@ -974,6 +995,7 @@ static int plot_nvars TCL_CMDPROCARGS(clientData,interp,argc,argv){ int plot; int i=0; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_nvars plot",TCL_STATIC); return TCL_ERROR; @@ -995,6 +1017,7 @@ static int plot_defaultscale TCL_CMDPROCARGS(clientData,interp,argc,argv){ struct plot *pl; int plot; + IGNORE(clientData); if (argc != 2) { Tcl_SetResult(interp, "Wrong # args. spice::plot_defaultscale plot", TCL_STATIC); @@ -1027,6 +1050,7 @@ static int plot_getvector TCL_CMDPROCARGS(clientData,interp,argc,argv) { struct dvec *v; struct plot *pl; + IGNORE(clientData); if (argc < 4 || argc > 6) { Tcl_SetResult(interp, "Wrong # args. spice::plot_getvector plot spice_variable vecName ?start? ?end?", @@ -1087,6 +1111,9 @@ static int plot_getvector TCL_CMDPROCARGS(clientData,interp,argc,argv) { } static int plot_getplot TCL_CMDPROCARGS(clientData,interp,argc,argv) { + IGNORE(clientData); + IGNORE(argc); + IGNORE(argv); if(plot_cur) { Tcl_SetObjResult(interp,Tcl_NewStringObj(plot_cur->pl_typename,-1)); } @@ -1103,6 +1130,7 @@ static int get_output TCL_CMDPROCARGS(clientData,interp,argc,argv) { int tmp_1,tmp_2=0; char buf[1024]; int outfd,outfd2=0; + IGNORE(clientData); save_interp(); if ((argc < 2) || (argc > 3)) { Tcl_SetResult(interp, "Wrong # args. spice::get_output script ?var_for_stderr?",TCL_STATIC); @@ -1163,6 +1191,7 @@ static int get_param TCL_CMDPROCARGS(clientData,interp,argc,argv) { char *device, *param; struct variable *v; char buf[128]; + IGNORE(clientData); if (argc != 3) { Tcl_SetResult(interp, "Wrong # args. spice::get_param device param",TCL_STATIC); return TCL_ERROR; @@ -1212,6 +1241,7 @@ int get_mod_param TCL_CMDPROCARGS(clientData,interp,argc,argv) { char buf[128]; bool found; + IGNORE(clientData); if (argc < 2 || argc >3) { Tcl_SetResult(interp, "Wrong # args. spice::get_mod_param device|model [all|param]", TCL_STATIC); @@ -1280,6 +1310,7 @@ int get_mod_param TCL_CMDPROCARGS(clientData,interp,argc,argv) { * Spice will still adjust it to keep accuracy wuithin reltol and abstol */ static int delta TCL_CMDPROCARGS(clientData,interp,argc,argv) { + IGNORE(clientData); if (argc < 1 ||argc > 2) { Tcl_SetResult(interp, "Wrong # args. spice::delta ?value?",TCL_STATIC); return TCL_ERROR; @@ -1303,6 +1334,7 @@ static int delta TCL_CMDPROCARGS(clientData,interp,argc,argv) { */ static int maxstep TCL_CMDPROCARGS(clientData,interp,argc,argv) { TRANan *job; + IGNORE(clientData); if (argc < 1 ||argc > 2) { Tcl_SetResult(interp, "Wrong # args. spice::maxstep ?value?",TCL_STATIC); return TCL_ERROR; @@ -1600,6 +1632,8 @@ int stepCallbackPending; void stepEventSetup(ClientData clientData,int flags) { Tcl_Time t; + IGNORE(clientData); + IGNORE(flags); if(stepCallbackPending) { t.sec = 0; t.usec = 0; @@ -1611,6 +1645,8 @@ void stepEventSetup(ClientData clientData,int flags) { } int stepEventHandler(Tcl_Event *evPtr, int flags) { + IGNORE(evPtr); + IGNORE(flags); if(stepCallbackPending) { stepCallbackPending = 0; Tcl_Preserve((ClientData)spice_interp); @@ -1622,6 +1658,8 @@ int stepEventHandler(Tcl_Event *evPtr, int flags) { } void stepEventCheck(ClientData clientData,int flags) { + IGNORE(clientData); + IGNORE(flags); if(stepCallbackPending) { Tcl_Event *tclEvent; tclEvent = (Tcl_Event *) ckalloc(sizeof(Tcl_Event)); @@ -1633,6 +1671,8 @@ void stepEventCheck(ClientData clientData,int flags) { int triggerEventHandler(Tcl_Event *evPtr, int flags) { static char buf[512]; int rtn=TCL_OK; + IGNORE(evPtr); + IGNORE(flags); Tcl_Preserve((ClientData)spice_interp); #ifdef THREADS mutex_lock(&triggerMutex); @@ -1662,6 +1702,8 @@ quit: void triggerEventSetup(ClientData clientData,int flags) { Tcl_Time t; + IGNORE(clientData); + IGNORE(flags); if(eventQueue) { t.sec = 0; t.usec = 0; @@ -1673,6 +1715,8 @@ void triggerEventSetup(ClientData clientData,int flags) { } void triggerEventCheck(ClientData clientData,int flags) { + IGNORE(clientData); + IGNORE(flags); #ifdef THREADS mutex_lock(&triggerMutex); #endif @@ -1809,6 +1853,7 @@ static int resetTriggers() { */ static int registerTriggerCallback TCL_CMDPROCARGS(clientData,interp,argc,argv){ + IGNORE(clientData); if (argc > 3) { Tcl_SetResult(interp, "Wrong # args. spice::registerTriggerCallback ?proc? ?ms?", @@ -1845,6 +1890,7 @@ static int registerTriggerCallback TCL_CMDPROCARGS(clientData,interp,argc,argv){ */ static int registerStepCallback TCL_CMDPROCARGS(clientData,interp,argc,argv){ + IGNORE(clientData); if (argc > 4) { Tcl_SetResult(interp, "Wrong # args. spice::registerStepCallback ?proc? ?steps? ?ms?", @@ -1894,6 +1940,7 @@ static int registerTrigger TCL_CMDPROCARGS(clientData,interp,argc,argv){ int type; double Vavg, Vmin, Vmax; + IGNORE(clientData); if (argc < 4 && argc > 6) { Tcl_SetResult(interp, "Wrong # args. spice::registerTrigger vecName Vmin Vmax ?type? ?string?",TCL_STATIC); return TCL_ERROR; @@ -1985,6 +2032,7 @@ static int unregisterTrigger TCL_CMDPROCARGS(clientData,interp,argc,argv){ struct watch *tmp; struct watch **cut; + IGNORE(clientData); if (argc != 2 && argc != 3) { Tcl_SetResult(interp, "Wrong # args. spice::unregisterTrigger vecName ?type?",TCL_STATIC); return TCL_ERROR; @@ -2040,6 +2088,8 @@ static int unregisterTrigger TCL_CMDPROCARGS(clientData,interp,argc,argv){ */ static int popTriggerEvent TCL_CMDPROCARGS(clientData,interp,argc,argv){ + IGNORE(clientData); + IGNORE(argv); if (argc != 1) { Tcl_SetResult(interp, "Wrong # args. spice::popTriggerEvent",TCL_STATIC); return TCL_ERROR; @@ -2089,6 +2139,8 @@ static int listTriggers TCL_CMDPROCARGS(clientData,interp,argc,argv){ struct watch *tmp; Tcl_Obj *list; + IGNORE(clientData); + IGNORE(argv); if (argc != 1) { Tcl_SetResult(interp, "Wrong # args. spice::listTriggers",TCL_STATIC); return TCL_ERROR; @@ -2117,6 +2169,7 @@ static int tmeasure TCL_CMDPROCARGS(clientData,interp,argc,argv){ wordlist *wl= NULL; double mvalue; + IGNORE(clientData); if (argc <= 2) { Tcl_SetResult(interp, "Wrong # args. spice::listTriggers",TCL_STATIC); return TCL_ERROR; diff --git a/src/xspice/evt/evtqueue.c b/src/xspice/evt/evtqueue.c index 58ec2e5e8..b5c16043d 100755 --- a/src/xspice/evt/evtqueue.c +++ b/src/xspice/evt/evtqueue.c @@ -97,6 +97,7 @@ void EVTqueue_output( Mif_Boolean_t splice; + IGNORE(udn_index); /* Get pointers for fast access */ output_queue = &(ckt->evt->queue.output); diff --git a/src/xspice/evt/evttermi.c b/src/xspice/evt/evttermi.c index 62bcb1577..4855f72fd 100755 --- a/src/xspice/evt/evttermi.c +++ b/src/xspice/evt/evttermi.c @@ -188,6 +188,8 @@ static void EVTinst_insert( Evt_Inst_Info_t *inst; Evt_Inst_Info_t **inst_ptr; + IGNORE(err_msg); + /* Scan list of instances in event structure to see if already there */ /* and get the index */ @@ -415,6 +417,8 @@ static void EVTport_insert( int index; + IGNORE(err_msg); + /* Find the end of the port info list */ port = ckt->evt->info.port_list; port_ptr = &(ckt->evt->info.port_list); @@ -477,6 +481,8 @@ static void EVToutput_insert( int index; + IGNORE(err_msg); + /* Find the end of the port info list */ output = ckt->evt->info.output_list; output_ptr = &(ckt->evt->info.output_list); diff --git a/src/xspice/idn/idndig.c b/src/xspice/idn/idndig.c index 4afefcf00..e310ab23f 100755 --- a/src/xspice/idn/idndig.c +++ b/src/xspice/idn/idndig.c @@ -59,6 +59,8 @@ static void idn_digital_create(void **evt_struct) static void idn_digital_dismantle(void *evt_struct) { + IGNORE(evt_struct); + /* Do nothing. There are no internally malloc'ed things to dismantle */ } diff --git a/src/xspice/ipc/ipcsockets.c b/src/xspice/ipc/ipcsockets.c index 2793f911e..a3e78d7b5 100755 --- a/src/xspice/ipc/ipcsockets.c +++ b/src/xspice/ipc/ipcsockets.c @@ -171,6 +171,9 @@ ipc_transport_initialize_server ( unsigned int server_length; /* Size of server structure */ unsigned int port_num; /* Port number converted from server_name */ + IGNORE(mode); + IGNORE(protocol); + /* assert (protocol == IPC_PROTOCOL_V2); */ /* allow v1 protocol - wbk */ assert (sock_state == IPC_SOCK_UNINITIALIZED); diff --git a/src/xspice/mif/mif_inp2.c b/src/xspice/mif/mif_inp2.c index a82b30a67..aeab9d112 100755 --- a/src/xspice/mif/mif_inp2.c +++ b/src/xspice/mif/mif_inp2.c @@ -667,6 +667,9 @@ MIFget_port_type( int i; + IGNORE(ckt); + IGNORE(tab); + if(**line == '\0') { LITERR("Missing connections on A device"); *status = MIF_ERROR; diff --git a/src/xspice/mif/mifask.c b/src/xspice/mif/mifask.c index ed4c06b4b..671e3f4f7 100755 --- a/src/xspice/mif/mifask.c +++ b/src/xspice/mif/mifask.c @@ -85,6 +85,8 @@ int MIFask( Mif_Boolean_t is_array; + IGNORE(ckt); + IGNORE(select); /* Arrange for access to MIF specific data in the instance */ inst = (MIFinstance *) inInst; diff --git a/src/xspice/mif/mifgetvalue.c b/src/xspice/mif/mifgetvalue.c index 801f1710d..b719963ae 100755 --- a/src/xspice/mif/mifgetvalue.c +++ b/src/xspice/mif/mifgetvalue.c @@ -104,6 +104,8 @@ MIFgetValue ( int value_type; int is_array; + IGNORE(ckt); + IGNORE(tab); /* Mask off non-type bits */ value_type = type & IF_VARTYPES; diff --git a/src/xspice/mif/mifmask.c b/src/xspice/mif/mifmask.c index 4e4ecffe5..63c21ad4e 100755 --- a/src/xspice/mif/mifmask.c +++ b/src/xspice/mif/mifmask.c @@ -80,6 +80,7 @@ int MIFmAsk( Mif_Boolean_t is_array; + IGNORE(ckt); /* Arrange for access to MIF specific data in the model */ model = (MIFmodel *) inModel;