Removed unused variables to avoid compile warnings
This commit is contained in:
parent
4d667b05b2
commit
427c3e3b3c
|
|
@ -1,6 +1,7 @@
|
|||
/**********
|
||||
Copyright 1992 Regents of the University of California. All rights reserved.
|
||||
Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
||||
$Id$
|
||||
**********/
|
||||
|
||||
/* Functions to compute small-signal parameters of 1D devices */
|
||||
|
|
@ -661,7 +662,6 @@ computeAdmittance(ONEnode *pNode, BOOLEAN delVContact, double *xReal,
|
|||
SPcomplex psi, n, p;
|
||||
SPcomplex sum, prod1, prod2;
|
||||
/* SPcomplex yAc; */
|
||||
double temp;
|
||||
int i;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
Copyright 1992 Regents of the University of California. All rights reserved.
|
||||
Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
||||
Author: 1992 David A. Gates, U. C. Berkeley CAD Group
|
||||
$Id$
|
||||
**********/
|
||||
|
||||
#include "ngspice.h"
|
||||
|
|
@ -326,7 +327,7 @@ void
|
|||
ONEmemStats(FILE *file, ONEdevice *pDevice)
|
||||
{
|
||||
static char *memFormat = "%-20s%10d%10d\n";
|
||||
static char *sumFormat = "%20s %-10d\n";
|
||||
/* static char *sumFormat = "%20s %-10d\n";*/
|
||||
unsigned int size;
|
||||
unsigned int memory;
|
||||
ONEmaterial *pMaterial;
|
||||
|
|
|
|||
|
|
@ -229,7 +229,6 @@ float *x, *conc;
|
|||
int *impId, *numNod;
|
||||
{
|
||||
int idata;
|
||||
int ldata;
|
||||
int i, j;
|
||||
float rdata;
|
||||
char cdata[21];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/**********
|
||||
Copyright 1990 Regents of the University of California. All rights reserved.
|
||||
Author: 1987 Thomas L. Quarles
|
||||
$Id$
|
||||
**********/
|
||||
|
||||
#include "ngspice.h"
|
||||
|
|
@ -27,7 +28,6 @@ NUMDask(ckt, inInst, which, value, select)
|
|||
IFvalue *select;
|
||||
{
|
||||
NUMDinstance *inst = (NUMDinstance *) inInst;
|
||||
SPcomplex yd;
|
||||
|
||||
switch (which) {
|
||||
case NUMD_AREA:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/**********
|
||||
Copyright 1990 Regents of the University of California. All rights reserved.
|
||||
Author: 1987 Thomas L. Quarles
|
||||
$Id$
|
||||
**********/
|
||||
|
||||
#include "ngspice.h"
|
||||
|
|
@ -118,4 +119,5 @@ NUMD2ask(ckt, inInst, which, value, select)
|
|||
return (E_BADPARM);
|
||||
}
|
||||
/* NOTREACHED */
|
||||
return (E_BADPARM);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/**********
|
||||
Copyright 1992 Regents of the University of California. All rights reserved.
|
||||
Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
||||
$Id$
|
||||
**********/
|
||||
|
||||
/*
|
||||
|
|
@ -47,7 +48,6 @@ NUMD2load(inModel, ckt)
|
|||
double vd; /* current diode voltage */
|
||||
double delVd;
|
||||
int Check;
|
||||
int error;
|
||||
double deltaNorm[7];
|
||||
int devConverged = FALSE;
|
||||
int i;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/**********
|
||||
Copyright 1991 Regents of the University of California. All rights reserved.
|
||||
Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
||||
$Id$
|
||||
**********/
|
||||
|
||||
#include "ngspice.h"
|
||||
|
|
@ -42,7 +43,7 @@ NUMD2setup(matrix, inModel, ckt, states)
|
|||
OUTPcard *outputs;
|
||||
char *icFileName = NULL;
|
||||
int nameLen;
|
||||
int error, xIndex, yIndex;
|
||||
int error, xIndex;
|
||||
int xMeshSize, yMeshSize;
|
||||
TWOdevice *pDevice;
|
||||
TWOcoord *xCoordList = NIL(TWOcoord);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
/**********
|
||||
Copyright 1991 Regents of the University of California. All rights reserved.
|
||||
Author: 1987 Kartikeya Mayaram, U. C. Berkeley CAD Group
|
||||
$Id$
|
||||
**********/
|
||||
|
||||
#include "ngspice.h"
|
||||
|
|
@ -42,7 +43,7 @@ NUMOSsetup(matrix, inModel, ckt, states)
|
|||
OUTPcard *outputs;
|
||||
char *icFileName = NULL;
|
||||
int nameLen;
|
||||
int error, xIndex, yIndex;
|
||||
int error, xIndex;
|
||||
int xMeshSize, yMeshSize;
|
||||
TWOdevice *pDevice;
|
||||
TWOcoord *xCoordList = NIL(TWOcoord);
|
||||
|
|
|
|||
Loading…
Reference in New Issue