mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
remove compiler warning about double declaration of DEVices
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user