remove compiler warning about double declaration of DEVices

This commit is contained in:
dwarning 2018-10-31 14:15:50 +01:00
parent 58b3f6d1ab
commit 6f577684dd
2 changed files with 0 additions and 2 deletions

View File

@ -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) {

View File

@ -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();