Removed unused variables to avoid compile warnings

This commit is contained in:
sjborley 2005-05-23 06:58:42 +00:00
parent 4d667b05b2
commit 427c3e3b3c
8 changed files with 11 additions and 7 deletions

View File

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

View File

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

View File

@ -229,7 +229,6 @@ float *x, *conc;
int *impId, *numNod;
{
int idata;
int ldata;
int i, j;
float rdata;
char cdata[21];

View File

@ -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:

View File

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

View File

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

View File

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

View File

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