fix warning of potential (actuall impossible) usage of uninitialized node5..7

This commit is contained in:
rlar 2011-08-05 19:17:50 +00:00
parent e5a255a030
commit 49000cc7e2
2 changed files with 15 additions and 7 deletions

View File

@ -1,15 +1,19 @@
2011-08-05 Robert Larice
* src/spicelib/parser/inp2m.c :
fix warning of potential (actuall impossible) usage of uninitialized node5..7
2011-08-04 Holger Vogt
* dcpss.c: tiny update to obtain compilation with MS VS 2008,
* dcpss.c: tiny update to obtain compilation with MS VS 2008,
code beautyfied
* winmain.c, dcpss.c: Windows progress message improved
* winmain.c, dcpss.c: Windows progress message improved
2011-08-04 Paolo Nenzi
* (new) tests/pss ,
* (new) tests/pss/colpitt_osc_pss.cir ,
* (new) tests/compl_cross_quad_osc_pss.cir ,
* (new) tests/hartley_osc_pss.cir ,
* (new) tests/hartley_osc_pss.cir ,
* (new) tests/ring_osc_pss.cir ,
* (new) tests/vackar_osc_pss.cir ,
* (new) tests/vackar_osc_pss.cir ,
* (new) tests/vdp_osc_pss.cir :
Added example files for pss from Stefano Perticaroli.
@ -30,9 +34,9 @@
* (new) src/spicelib/analysis/pssinit.c ,
* (new) src/spicelib/analysis/psssetp.c :
Committed PSS (Periodic Steady State Analysis) code from Stefano Perticaroli.
The analysis is based on the transient analysis and is able to predict the
fundamental frequency and amplitude (and also harmonics) for autonomous
systems.
The analysis is based on the transient analysis and is able to predict the
fundamental frequency and amplitude (and also harmonics) for autonomous
systems.
2011-08-04 Robert Larice
* src/spicelib/analysis/cktsetbk.c :

View File

@ -69,6 +69,10 @@ INP2M (CKTcircuit *ckt, INPtables * tab, card * current)
INPgetNetTok (&line, &nname4, 1);
INPtermInsert (ckt, &nname4, tab, &node4);
node5 = NULL;
node6 = NULL;
node7 = NULL;
/* See if 5th token after device specification is a model name */
INPgetNetTok (&line, &nname5, 1); /* get 5th token */