remove compiler warning about double declaration of DEVices
This commit is contained in:
parent
58b3f6d1ab
commit
6f577684dd
|
|
@ -19,7 +19,6 @@ CKTask(CKTcircuit *ckt, GENinstance *instance, int which, IFvalue *value, IFvalu
|
||||||
{
|
{
|
||||||
int type = instance->GENmodPtr->GENmodType;
|
int type = instance->GENmodPtr->GENmodType;
|
||||||
int error;
|
int error;
|
||||||
SPICEdev **DEVices;
|
|
||||||
|
|
||||||
DEVices = devices();
|
DEVices = devices();
|
||||||
if(DEVices[type]->DEVask) {
|
if(DEVices[type]->DEVask) {
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ CKTcrtElt(CKTcircuit *ckt, GENmodel *modPtr, GENinstance **inInstPtr, IFuid name
|
||||||
{
|
{
|
||||||
GENinstance *instPtr = NULL; /* instPtr points to the data struct for per-instance data */
|
GENinstance *instPtr = NULL; /* instPtr points to the data struct for per-instance data */
|
||||||
|
|
||||||
SPICEdev **DEVices;
|
|
||||||
int type;
|
int type;
|
||||||
|
|
||||||
DEVices = devices();
|
DEVices = devices();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue