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