fix bug `#233 cktdojob: Uninitialized variable: ANALmaxnum'
this is WANT_SENSE2 specific http://sourceforge.net/p/ngspice/bugs/233/
This commit is contained in:
parent
14ae087ec5
commit
3ea7a23394
|
|
@ -30,7 +30,8 @@ CKTdoJob(CKTcircuit *ckt, int reset, TSKtask *task)
|
|||
JOB *job;
|
||||
double startTime;
|
||||
int error, i, error2;
|
||||
int ANALmaxnum;
|
||||
|
||||
int ANALmaxnum = spice_num_analysis();
|
||||
|
||||
#ifdef WANT_SENSE2
|
||||
int senflag;
|
||||
|
|
@ -45,8 +46,6 @@ CKTdoJob(CKTcircuit *ckt, int reset, TSKtask *task)
|
|||
}
|
||||
#endif
|
||||
|
||||
ANALmaxnum = spice_num_analysis();
|
||||
|
||||
startTime = SPfrontEnd->IFseconds();
|
||||
|
||||
ckt->CKTtemp = task->TSKtemp;
|
||||
|
|
|
|||
Loading…
Reference in New Issue